Changeset 1653 for trunk/buildscripts

Show
Ignore:
Timestamp:
01/24/2007 11:49:22 PM (23 months ago)
Author:
wei
Message:

Fixed #502

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/buildscripts/texbuilder/Page2Tex.php

    r1618 r1653  
    212212 
    213213                $html = preg_replace('/<!--(.*)-->/', '', $html); 
     214                $html = preg_replace('/<div class="last-modified">((.|\n)*?)<\/div>/', '', $html); 
    214215 
    215216 
     
    301302                return "<h3 id=\"".($page + (++self::$header_count))."\">"; 
    302303        } 
    303          
     304 
    304305        function set_block_content_id($content) 
    305306        { 
     
    323324                } 
    324325                else 
    325                 {        
     326                { 
    326327                        $changes = str_replace('"source"', '"source block-content" id="code-'.$id.'"', $matches[0]); 
    327328                        return $changes;