From 571dad3eb555c72bcc6e17f7bc4a51c64516bd88 Mon Sep 17 00:00:00 2001 From: "http://zwol.livejournal.com/" <http://zwol.livejournal.com/@web> Date: Fri, 15 May 2009 01:29:40 -0400 Subject: --- .../external_links_inside_headings_don__39__t_work.mdwn | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 doc/bugs/external_links_inside_headings_don__39__t_work.mdwn (limited to 'doc/bugs') diff --git a/doc/bugs/external_links_inside_headings_don__39__t_work.mdwn b/doc/bugs/external_links_inside_headings_don__39__t_work.mdwn new file mode 100644 index 000000000..c8e574477 --- /dev/null +++ b/doc/bugs/external_links_inside_headings_don__39__t_work.mdwn @@ -0,0 +1,15 @@ +The standalone 'markdown' utility is perfectly happy with an external link inside a `<h1>`, e.g.: + + # Review of [Dwarf Fortress][] + ... + [Dwarf Fortress]: http://www.bay12games.com/dwarves/ + +produces + + <h1>Review of <a href="http://www.bay12games.com/dwarves/">Dwarf Fortress</a></h1> + +but when I try to use this construct in an ikiwiki page, I get + + <h1>Review of [Dwarf Fortress][]</h1> + +It works fine with h2 and deeper. The square brackets also appear in the output of an [[directive/inline]] directive in archive mode, I haven't tried non-archive mode. -- cgit v1.2.3