[GRASS-SVN] r30361 - grass/trunk/tools/g.html2man

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 26 14:22:22 EST 2008


Author: hamish
Date: 2008-02-26 14:22:22 -0500 (Tue, 26 Feb 2008)
New Revision: 30361

Modified:
   grass/trunk/tools/g.html2man/g.html2man
Log:
line break between table rows (doesn't fix it, but a start)

Modified: grass/trunk/tools/g.html2man/g.html2man
===================================================================
--- grass/trunk/tools/g.html2man/g.html2man	2008-02-26 19:05:33 UTC (rev 30360)
+++ grass/trunk/tools/g.html2man/g.html2man	2008-02-26 19:22:22 UTC (rev 30361)
@@ -52,7 +52,7 @@
   $ncols = -1 + scalar split /<td/i, $one_row;
   $has_header = m|<th|i ;
   s|[\n\r]||g;
-  s|</tr.*?>|\n|gis;
+  s|</tr.*?>|\n.br\n|gis;
   s|</td.*?>|\t|gis;
   foreach $tag ( qw(<td.*?> <th.*?> </th> <tr.*?>) ){
     s/$tag//gi;



More information about the grass-commit mailing list