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

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

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 Exponential 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 Exponential 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