Changeset 18135 for gsdl


Ignore:
Timestamp:
2008-12-08T12:51:27+13:00 (15 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.

File:
1 edited

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...
Note: See TracChangeset for help on using the changeset viewer.