]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Accept lines with only whitespace as empty.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Feb 1999 17:28:20 +0000 (17:28 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 25 Feb 1999 17:28:20 +0000 (17:28 +0000)
git-svn-id: https://svn.dealii.org/trunk@910 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b8f4595333813cc25b2d98cd6c64e4007eefcb23..99b3a866fbafda38bd3a4ba557623e0c06f21aed 100644 (file)
@@ -680,7 +680,7 @@ sub writeClassDescription
 
                $term = "<HR>\n";
 
-               $Description =~ s/\n\n+/\n<\/p><p>\n/g;
+               $Description =~ s/\n(\s*\n)+/\n<\/p><p>\n/g;
 
                print CLASS "\n", makeReferencedText($Description) ,"\n</P>";
        }
@@ -775,7 +775,7 @@ sub writeMemberDoc
                print CLASS "<p><strong>For internal use only.</strong></p>\n" 
                        if $MethInternal;
 
-               $Description =~ s/\n\n+/\n<\/p><p>\n/g;
+               $Description =~ s/\n(\s*\n)+/\n<\/p><p>\n/g;
 
                print CLASS "<p>",makeReferencedText($Description),"</p>\n";
                

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.