]> sipb.mit.edu Git - ikiwiki.git/commit
display the pagetitle() in linkmaps
authorchrysn <chrysn@fsfe.org>
Thu, 15 Mar 2012 13:38:42 +0000 (14:38 +0100)
committerchrysn <chrysn@fsfe.org>
Thu, 15 Mar 2012 13:38:42 +0000 (14:38 +0100)
commitefbb1121ffdc146f5c9a481a51f23ad151b9f240
tree1cba0b29983ea8f5c1eac2f48975ce27c36f1749
parentbe6fe03035259cf85a8b68e447ed405eb458d76c
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).
IkiWiki/Plugin/linkmap.pm