Changeset 18135

Show
Ignore:
Timestamp:
08.12.2008 12:51:27 (11 years ago)
Author:
ak19
Message:

Undid previous commit that tried to remove the inserted comment by wvWare (which was broken by HTMLPlugin). Because now the wvware.html file in etc/packages has been edited to no longer contain the html comment that used to be inserted when it generated HTML upon conversion.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • gsdl/trunk/perllib/plugins/HTMLPlugin.pm

    r17983 r18135  
    666666    $file =~ s@(\\)+@/@g;  
    667667    } 
    668  
    669     # Any document converted by wvWare into HTML tends to have a certain comment inserted  
    670     # by wvware at the end of the HTML it generated. This comment contains urls that  
    671     # Greenstone replaces with macros, which then break the comment when the macros are 
    672     # expanded. The result is that the HTML displayed in the Greenstone browser is ugly. 
    673     # Therefore, we remove wvWare's insertion here.  
    674     $$textref =~ s/<!--\n(?:.*?)Document created with(?:.*?)wvware(?:.*?)-->//s; 
    675668     
    676669    # reset per-doc stuff...