aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/external_links_inside_headings_don__39__t_work.mdwn
diff options
context:
space:
mode:
authorhttp://zwol.livejournal.com/ <http://zwol.livejournal.com/@web>2009-05-15 01:29:40 -0400
committerJoey Hess <joey@kitenet.net>2009-05-15 01:29:40 -0400
commit571dad3eb555c72bcc6e17f7bc4a51c64516bd88 (patch)
tree08c7c26138f49e040a973641b0d94b384e57fdc6 /doc/bugs/external_links_inside_headings_don__39__t_work.mdwn
parent8a654449907d52d00f0a20107778b8841af75c96 (diff)
downloadikiwiki-571dad3eb555c72bcc6e17f7bc4a51c64516bd88.tar
ikiwiki-571dad3eb555c72bcc6e17f7bc4a51c64516bd88.tar.gz
Diffstat (limited to 'doc/bugs/external_links_inside_headings_don__39__t_work.mdwn')
-rw-r--r--doc/bugs/external_links_inside_headings_don__39__t_work.mdwn15
1 files changed, 15 insertions, 0 deletions
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.