From 433e23f3b527f1dc730698961b9196b9c4de16c8 Mon Sep 17 00:00:00 2001 From: wolf Date: Mon, 4 Apr 2005 19:25:29 +0000 Subject: [PATCH] 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 --- deal.II/doc/tutorial/chapter-2.step-by-step/program2html | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 { -- 2.39.5