aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-11-06 22:12:18 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2008-11-06 22:12:18 +0000
commitc1272dee93c2612a8d06a876e51a3ed0cfa2eb9e (patch)
treed09e579aeb9f451f49c1338caefa258914bd4e3b
parent95efec1e6226ab86473a7053b5a06e492a1c8e67 (diff)
downloadpandoc-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-xweb/mkdemos.pl1
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;