mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user