Changeset 17983
- Timestamp:
- 2008-11-28 19:29:16 (1 month ago)
- Files:
-
- gsdl/trunk/perllib/plugins/HTMLPlugin.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
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...
