]> git.wh0rd.org - tt-rss.git/blob - lib/htmlpurifier/library/HTMLPurifier/HTMLModule/CommonAttributes.php
strip_tags_long: use htmlpurifier to properly reformat html content
[tt-rss.git] / lib / htmlpurifier / library / HTMLPurifier / HTMLModule / CommonAttributes.php
1 <?php
2
3 class HTMLPurifier_HTMLModule_CommonAttributes extends HTMLPurifier_HTMLModule
4 {
5 public $name = 'CommonAttributes';
6
7 public $attr_collections = array(
8 'Core' => array(
9 0 => array('Style'),
10 // 'xml:space' => false,
11 'class' => 'NMTOKENS',
12 'id' => 'ID',
13 'title' => 'CDATA',
14 ),
15 'Lang' => array(),
16 'I18N' => array(
17 0 => array('Lang'), // proprietary, for xml:lang/lang
18 ),
19 'Common' => array(
20 0 => array('Core', 'I18N')
21 )
22 );
23 }
24
25 // vim: et sw=4 sts=4