From: Ryan Burgoyne Date: Mon, 25 Feb 2013 20:28:35 +0000 (-0700) Subject: Removed quotemeta() function. It didn't solve the problem and added visible escape... X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=1eefbaa970da8c4472e31ea9e1724cbbda126c21;p=ikiwiki-pandoc.git Removed quotemeta() function. It didn't solve the problem and added visible escape characters to the HTML title. For now, if you want to surrount your title with quotation marks, you will have to put backslashes in front of them. --- diff --git a/pandoc.pm b/pandoc.pm index 4df0249..50a38de 100644 --- a/pandoc.pm +++ b/pandoc.pm @@ -258,13 +258,13 @@ sub htmlize ($@) { my $date = compile_string @doc_date; if ($title) { - $pagestate{$page}{meta}{title} = quotemeta($title); + $pagestate{$page}{meta}{title} = $title; } if ($author) { - $pagestate{$page}{meta}{author} = quotemeta($author); + $pagestate{$page}{meta}{author} = $author; } if ($date) { - $pagestate{$page}{meta}{date} = quotemeta($date); + $pagestate{$page}{meta}{date} = $date; } return $content;