ppcrcd/trunk/doc/gendoc.pl

sparky cvs at pld-linux.org
Thu Mar 16 15:10:33 CET 2006


Author: sparky
Date: Thu Mar 16 15:10:31 2006
New Revision: 7188

Modified:
   ppcrcd/trunk/doc/gendoc.pl
Log:
- a way to put <br />


Modified: ppcrcd/trunk/doc/gendoc.pl
==============================================================================
--- ppcrcd/trunk/doc/gendoc.pl	(original)
+++ ppcrcd/trunk/doc/gendoc.pl	Thu Mar 16 15:10:31 2006
@@ -61,6 +61,12 @@
 				$out .= "</pre>\n";
 			}
 		}
+		unless ( $pre ) {
+			if ( $line =~ s/^    (\S)/$1/ ) {
+				chomp $out;
+				$out .= "<br />\n";
+			}
+		}
 		$out .= $line . "\n";
 	}
 	if ($pre) {


More information about the pld-cvs-commit mailing list