aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorchrysn <chrysn@web>2012-03-15 09:55:52 -0400
committeradmin <admin@branchable.com>2012-03-15 09:55:52 -0400
commit70ced8faacfd01fe9549693a8252bbcafd423cad (patch)
tree1b207387d6e15a6c00301277560f2d3e853b160d /doc
parent2b76a4e7b850f2c53c20e14d399909f4f5de8a46 (diff)
downloadikiwiki-70ced8faacfd01fe9549693a8252bbcafd423cad.tar
ikiwiki-70ced8faacfd01fe9549693a8252bbcafd423cad.tar.gz
document and fix linkmap underscore issue
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/linkmap_displays_underscore_escapes.mdwn14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/bugs/linkmap_displays_underscore_escapes.mdwn b/doc/bugs/linkmap_displays_underscore_escapes.mdwn
new file mode 100644
index 000000000..4393e1aba
--- /dev/null
+++ b/doc/bugs/linkmap_displays_underscore_escapes.mdwn
@@ -0,0 +1,14 @@
+[[ikiwiki/directive/linkmap]]s display the file name instead of the pagetitle, showing unsightly underscore escapes and underscores instead of blanks to users.
+
+the attached [[!taglink patch]] fixes this; from its commit message:
+
+ display the pagetitle() in linkmaps
+
+ without this patch, linkmaps display underscores and underscore escape
+ sequences in the rendered output.
+
+ this introduces a pageescape function, which invoces pagetitle() to get
+ rid of underscore escapes and wraps the resulting utf8 string
+ appropriately for inclusion in a dot file (using dot's html encoding
+ because it can represent the '\"' dyad properly, and because it doesn't
+ need special-casing of newlines).