On Fri, Jan 04, 2013 at 02:28:32PM +1300, Olly Betts wrote:
> On Thu, Mar 16, 2006 at 06:08:38PM -0500, bill luecke wrote:
> > <!--- Drawn Shape (ignored--not implemented yet)<!--- <br>
>
> 0.21.2-2 (now in experimental) seems to get this right - testing on a
> suitable RTF file I have here I get:
>
> </font></font><!--Drawn Shape (ignored-not implemented yet)-->
>
> So it doesn't use the opening tag instead of the closing one, and also
> the problematic "--" in the comment has been replaced by a single "-".
I just noticed I was testing against a locally installed patched build.
0.21.2-2 does indeed fix the closing comment tag, but it does still have
"--" within the comment, which is potentially problematic. I won't go
into the gory details, but W3 note that:
"Authors should avoid putting two or more adjacent hyphens inside
comments."
http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.4
It seems in practice it doesn't cause problems with the browsers I
checked, so I think leaving this bug closed is appropriate as unrtf's
output no longer causes the body of the document to appear as a comment.
Cheers,
Olly
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]