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
This commit is contained in:
fiddlosopher
2008-11-06 22:12:18 +00:00
parent 95efec1e62
commit c1272dee93
-1
View File
@@ -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;