From: wolf
Date: Mon, 4 Apr 2005 19:25:29 +0000 (+0000)
Subject: Use proper quotation marks. Fix one little problem with a misreferenced
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=433e23f3b527f1dc730698961b9196b9c4de16c8;p=dealii-svn.git
Use proper quotation marks. Fix one little problem with a misreferenced
variable that happened to work by chance before.
git-svn-id: https://svn.dealii.org/trunk@10348 0785d39b-7218-0410-832d-ea1e28bc413d
---
diff --git a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html
index 75c80af247..73ddb8f7d1 100644
--- a/deal.II/doc/tutorial/chapter-2.step-by-step/program2html
+++ b/deal.II/doc/tutorial/chapter-2.step-by-step/program2html
@@ -1,4 +1,4 @@
-# Copyright (C) 1999, 2000, 2001, 2002 by Wolfgang Bangerth, University of Heidelberg
+# Copyright (C) 1999, 2000, 2001, 2002, 2005 by Wolfgang Bangerth, University of Heidelberg
print "\n";
print " The commented program
\n";
@@ -57,11 +57,15 @@ do {
$_ = "\n" . $_;
}
+ # replace quotation marks by the appropriate HTML quotation marks
+ s!``!“!g;
+ s!''!”!g;
+
# finally print this line
print $_, "\n";
# if empty line, introduce paragraph break
- print "
\n\n" if $1 =~ m!^\s*$!;
+ print "
\n\n" if $_ =~ m!^\s*$!;
}
else
{