cotonti.com : Siena 0.9.4 https://www.cotonti.com Последние сообщения в теме Cotonti en Sat, 18 Oct 2025 18:10:39 -0000 Macik [For other users who search solution]

Use: 'Attr.EnableID' => true

in file `htmlpurifier.group_5.preset.php`

 

]]>
ср, 13 ноя 2013 23:39:12 -0000
GHengeveld Beware that it's also used for comments, so disabling HTML Purifier means you should disable comments too.

]]>
пн, 19 сен 2011 23:35:41 -0000
jamguy Thank you,

Removing the Purifier plug-in solved my problem, its a non user post site, so I guess this is the best solution.

]]>
пн, 19 сен 2011 21:29:40 -0000
GHengeveld Yes, this is caused by HTML Purifier. If you don't allow regular users to post stuff on the site you can disable it (the plugin). Otherwise I recommend to find another solution because shutting it off brings big security risks. The simplest solution is to use the class attribute instead of id.

]]>
пн, 19 сен 2011 21:15:55 -0000
jamguy Hi,

took me some time to understand what is wrong, but it seems to be that when editing a page using HTML parsing, all the DIV ID tags gets their ID removed.

For Example:

<div id="test"> becomes <div>

div class works though.

 

Thanks

 

]]>
пн, 19 сен 2011 20:40:49 -0000