Changeset 17983 for gsdl/trunk/perllib/plugins/HTMLPlugin.pm
- Timestamp:
- 2008-11-28T19:29:16+13:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gsdl/trunk/perllib/plugins/HTMLPlugin.pm
r17927 r17983 666 666 $file =~ s@(\\)+@/@g; 667 667 } 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; 668 675 669 676 # reset per-doc stuff...
Note:
See TracChangeset
for help on using the changeset viewer.