Stefan,
the treatment of empty HTML tags has been fixed in version 0.4 of
Sablotron which is about to be released. The new version also shows
better conformance in issues like the (non-)escaping of characters like
< and & etc. A few rules governing the HTML output (e.g. the proper
output of "boolean" attributes) will remain for a future version though.
Thanks for your question,
Tom Kaiser
(Ginger Alliance)
Stefan Livieratos wrote:
>
> Hi all,
>
> I have been trying the Sablotron parser both on command line
> and using Steven Liu's PHP4 extension and seems to work smoothly.
> However I had a problem when trying to convert XML to HTML with
> empty tags like <br/> because those tags always get transformed
> into an opening and a closing tag <br></br>. The resulting HTML
> page thus doesn't render correctly in the browsers (two line breaks
> instead of one).
>
> Do you think this can be fixed. I would help if I could but I am no
> C/C++ developer.
>
> Regards,
> Stefan Livieratos