techtonik               Wed Nov  3 23:36:37 2004 EDT

  Modified files:              
    /phpdoc/htmlhelp    filter_files.php 
  Log:
  additional table styling fixes
  
http://cvs.php.net/diff.php/phpdoc/htmlhelp/filter_files.php?r1=1.9&r2=1.10&ty=u
Index: phpdoc/htmlhelp/filter_files.php
diff -u phpdoc/htmlhelp/filter_files.php:1.9 phpdoc/htmlhelp/filter_files.php:1.10
--- phpdoc/htmlhelp/filter_files.php:1.9        Wed Nov  3 15:46:01 2004
+++ phpdoc/htmlhelp/filter_files.php    Wed Nov  3 23:36:37 2004
@@ -216,6 +216,11 @@
     );
 
     //------------------------------------------------------------------
+    // Add .datatable class for tables to ease styling
+    $content = preg_replace('!<div class="(informal)?table".*<table !U',
+                              '\\0class="datatable" ',$content);
+
+    //------------------------------------------------------------------
     // Put <p> tags after all </ul> or </div> or </table> close tags to
     // enable CSS support for those paragraphs (these break a <p>)
     // BUT do not put a P after our special notes container

Reply via email to