diff options
author | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-11-06 22:12:18 +0000 |
---|---|---|
committer | fiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> | 2008-11-06 22:12:18 +0000 |
commit | c1272dee93c2612a8d06a876e51a3ed0cfa2eb9e (patch) | |
tree | d09e579aeb9f451f49c1338caefa258914bd4e3b | |
parent | 95efec1e6226ab86473a7053b5a06e492a1c8e67 (diff) | |
download | pandoc-c1272dee93c2612a8d06a876e51a3ed0cfa2eb9e.tar.gz |
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
-rwxr-xr-x | web/mkdemos.pl | 1 |
1 files changed, 0 insertions, 1 deletions
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 (<IN>) { print STDERR "$commandExec"; system "$commandExec"; $line = $command; - $line =~ s/-/\-/; $line =~ s/@@([^@]*)@@/<a href="$1">$1<\/a>/g; $line =~ s/-/\\-/g; # to prevent smart dashes! $line =~ s/^(.*)$/ <pre><code>$1<\/code><\/pre>/g; |