Changeset 27742
- Timestamp:
- 2013-07-03T20:52:42+12:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone2/perllib/plugins/HTMLPlugin.pm
r27703 r27742 1408 1408 $title =~ s/<\/([^>]+)><\1>//g; # (eg) </b><b> - no space 1409 1409 $title =~ s/<[^>]*>/ /g; # remove all HTML tags 1410 $title =~ s@\r@@g; # remove Windows carriage returns to ensure that titles of pdftohtml docs are consistent (the same 100 chars) across windows and linux 1410 1411 $title = substr ($title, 0, 100); 1411 1412 $title =~ s/\s\S*$/.../;
Note:
See TracChangeset
for help on using the changeset viewer.