Forums / Install & configuration / how can I stop <li> tag class attribute being removed

how can I stop <li> tag class attribute being removed

Author Message

David Behan

Tuesday 17 January 2006 4:53:25 am

Hi,

We're adding content into ezpublish and pasting in html code. Some of the code is being stripped, e.g. <li class='num1'> is becoming <li>. And putting [] around the class isn't supported.

Any ideas on how to get around this?

Thanks,

Dave

Ɓukasz Serwatka

Thursday 19 January 2006 1:19:50 am

Hi David,

Welcome to eZ publish Community!

class attribute for <li> is not supported by eZXML filed which you using.

Here you can find complete list of supported tags:
http://ez.no/doc/ez_publish/technical_manual/3_6/reference/xml_tags

If want to use plain xhtml, you will need to extend your class with new attribute e.g "html filed" (Text filed datatype). However this is not recommend content storage.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog