]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Escaping of > and < removed
authorguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 24 Feb 1999 12:34:04 +0000 (12:34 +0000)
committerguido <guido@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 24 Feb 1999 12:34:04 +0000 (12:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@889 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/auto/scripts/kdoc/kdocHTML.pm

index ae7c8f905754fa451cb2186fbc79a1b8144464ab..b8f4595333813cc25b2d98cd6c64e4007eefcb23 100644 (file)
@@ -204,8 +204,8 @@ sub makeReferencedText
        $t =~ s/$pat/$repl/;
     }
 
-    $t =~ s/</&lt;/g;
-    $t =~ s/>/&gt;/g;
+#    $t =~ s/</&lt;/g;
+#    $t =~ s/>/&gt;/g;
     $t =~ s/&lt;\/p&gt;&lt;p&gt;/<\/p><p>/g;
     $t =~ s/\#([^\#]*)\#/<CODE>$1<\/CODE>/g;
     $t =~ s/\\begin\{verbatim\}/<pre>/g;
@@ -218,6 +218,15 @@ sub makeReferencedText
     $t =~ s/\\subsection\{([^}]*)\}/<H4>$1<\/H4>/g;
     $t =~ s/\\subsubsection\{([^}]*)\}/<H5>$1<\/H5>/g;
 
+#while($t =~ m/(\#([^\#]*)\#)/)
+#{
+#    $full = $1;
+#    $text = $2;
+#    $text =~ s/</&lt;/g;
+#    $text =~ s/>/&gt;/g;
+#    $text =~ s/\&/&amp;/g;
+#    $t =~ s/$full/<CODE>$text<\/CODE>/;
+#}
     return $t;
 }
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.