khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

[html writer] write footnote tags in better order #191

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
atm, the HTML writer will write footnotes as <a><sup>label</sup></a>

This means that the label text is raised, but the link's text-decoration
(eg. underline) still applies to the unraised position, which looks quite
weird.

You can fix this by adding some CSS, eg:

/* workaround pandoc bad generation of footnote html */
a.footnoteRef { text-decoration: none; }
a.footnoteRef > sup { text-decoration: underline; }

but it's quite ugly.

If the tags are swapped around to <sup><a>label text</a></sup>, this will
fix the problem.

Original issue reported on code.google.com by infinity0x@gmail.com on 27 Dec 2009 at 1:34

GoogleCodeExporter commented 9 years ago
Good idea.  I'll make this change before the next release.

Original comment by fiddloso...@gmail.com on 28 Dec 2009 at 5:21

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1743.

Original comment by fiddloso...@gmail.com on 31 Dec 2009 at 1:47