From c1272dee93c2612a8d06a876e51a3ed0cfa2eb9e Mon Sep 17 00:00:00 2001 From: fiddlosopher Date: Thu, 6 Nov 2008 22:12:18 +0000 Subject: Fixed problem in mkdemos.pl: Backslashes were being added before dashes in code samples. git-svn-id: https://pandoc.googlecode.com/svn/trunk@1490 788f1e2b-df1e-0410-8736-df70ead52e1b --- web/mkdemos.pl | 1 - 1 file changed, 1 deletion(-) diff --git a/web/mkdemos.pl b/web/mkdemos.pl index 17a965703..e81c9786a 100755 --- a/web/mkdemos.pl +++ b/web/mkdemos.pl @@ -20,7 +20,6 @@ while () { print STDERR "$commandExec"; system "$commandExec"; $line = $command; - $line =~ s/-/\-/; $line =~ s/@@([^@]*)@@/$1<\/a>/g; $line =~ s/-/\\-/g; # to prevent smart dashes! $line =~ s/^(.*)$/
$1<\/code><\/pre>/g;        
-- 
cgit v1.2.3