>
>
>
> Hi Dennis,
> I had a similar problem in my project using Hippo 6: in order to solve it,
> I had to write my own nl.hippo.htmlcleaner.HtmlRepairer (unfortunately
> subclassing was not an option) in order to override elementCleanup(List
> bits), when it comes to
>
>        if (startElement.localName.equals("span")) {
>
> Essentially I had to move the conditions to keep the <span> from
> has only class attribute with recognized value
> has style with certain recognized effects (bold/italic) -> translate to
> semantic correct tag.
> to
> has only class attribute with recognized value
> has style
>
> Of course, instead of translating <span> to <em> or <strong>, I keep it
> with the correct attributes.
>
> Cheers.
>
> --
> Francesco Chicchiriccò
> Delivery Manager
>
>
Exactly! You probably made the same fix I had in mind. Do you still have the
code for your custom htmlcleaner ?
********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to