Add %HTML.TargetNoreferrer, which adds rel="noreferrer" when target attribute is set
[htmlpurifier.git] / library / HTMLPurifier / ConfigSchema / schema / AutoFormat.RemoveEmpty.Predicate.txt
blob6367fe23c993e35f591a03dc9ec4fd8edbeae933
1 AutoFormat.RemoveEmpty.Predicate
2 TYPE: hash
3 VERSION: 4.7.0
4 DEFAULT: array('colgroup' => array(), 'th' => array(), 'td' => array(), 'iframe' => array('src'))
5 --DESCRIPTION--
6 <p>
7   Given that an element has no contents, it will be removed by default, unless
8   this predicate dictates otherwise.  The predicate can either be an associative
9   map from tag name to list of attributes that must be present for the element
10   to be considered preserved: thus, the default always preserves <code>colgroup</code>,
11   <code>th</code> and <code>td</code>, and also <code>iframe</code> if it
12   has a <code>src</code>.
13 </p>
14 --# vim: et sw=4 sts=4