Html id attributes are removed from div even if they are present in the cleanup element
after reading the documentation, I was able to add specific classes to div elements in Xinha rich text boxes. However, I didn't succeed in keeping the div id attributes. I checked and there is an hippohtmlcleaner:attributes id for the hippohtmlcleaner:name div. In fact, it seems like any attributes added in there for divs is not taken into consideration.
I tried adding an id attribute to h1 and it works perfectly.
Is there something special that I need to do for divs?
Re: Html id attributes are removed from div even if they are present in the cleanup element
adding an id attribute to a div works for me, in the Hippo Go Green.
The htmlcleaner configuration there has a cleanupElement with name
'div' and attributes 'class' and 'id'.
Could you verify that the id attribute is not stripped off in the
browser, e.g. by a xinha plugin? The content should be POSTed in an
ajax request. Whether the id is there in the POST body then there is
a server-side problem, otherwise it might be the xinha plugin