From 1eefbaa970da8c4472e31ea9e1724cbbda126c21 Mon Sep 17 00:00:00 2001 From: Ryan Burgoyne Date: Mon, 25 Feb 2013 13:28:35 -0700 Subject: [PATCH] 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. --- pandoc.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.39.2