Hello

We are going into a strange bug with IE :) and hack like <!--[if ...-->

These hacks seems to be not interpreted because Tapestry automatically add a
space character between '<!--' and '['

Here is the implementation of Comment class :

    @Override
    void toMarkup(Document document, PrintWriter writer, Map<String, String>
namespaceURIToPrefix)
    {
        writer.print("<!-- ");
        writer.print(comment);
        writer.print(" -->");
    }

Actually, it is not required to have space characters but specification does
not allow a comment ending in --->. The following example is *not*well-formed.

http://www.w3.org/TR/xml/#sec-comments

What should be done here ?

Please do not tell me not to use IE :)

Regards,
Christophe.

Reply via email to