To see the bug:
1. Create a link with text containing a character entity, [Foo &c.](mailto:foo@bar.baz)
; and
2. Translate the document to HTML.
With JavaScript enabled one sees the expected link "Foo &c.". With JS disabled the one sees the incorrect text "Foo &c. (foo at bar dot baz)".
Encountered using the OS X package of pandoc 0.3. Tested with Camino 1.0.3 and eLinks 0.10.6.
The attached pandoc-0.3-obfuscateString.patch resolves the issue, and doesn't introduce any regressions w.r.t. the test suite.
Comment #1
Posted on Apr 8, 2007 by Quick CamelNever mind, it's already been fixed as of revision 254.
Comment #2
Posted on Apr 8, 2007 by Quick CamelIgnore that previous comment -- the problem still exists in an svn checkout as of 2007-04-08. The patch above
won't apply cleanly against svn trunk as Text.Pandoc.Writers.HTML
no longer imports Text.Pandoc.Entities
,
thus there is a patch (again, a two-liner) against svn trunk attached to this comment.
Comment #3
Posted on Apr 8, 2007 by Grumpy DogThanks very much for the bug report, and the patch! Fixed as of r579.
Status: Fixed
Labels:
Type-Defect
Priority-Medium