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
commitc1272dee93c2612a8d06a876e51a3ed0cfa2eb9e
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>
dateThu 6 Nov 2008, 22:12 (18 years ago)
parent95efec1
web/mkdemos.pl−1
@@ -20,7 +20,6 @@ while (<IN>) {
2020 print STDERR "$commandExec";
2121 system "$commandExec";
2222 $line = $command;
23− $line =~ s/-/\-/;
2423 $line =~ s/@@([^@]*)@@/<a href="$1">$1<\/a>/g;
2524 $line =~ s/-/\\-/g; # to prevent smart dashes!
2625 $line =~ s/^(.*)$/ <pre><code>$1<\/code><\/pre>/g;