Changeset 2085 for trunk/gsdl/perllib/plugins/TEXTPlug.pm
- Timestamp:
- 2001-02-28T17:57:03+13:00 (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/perllib/plugins/TEXTPlug.pm
r1730 r2085 69 69 $doc_obj->add_utf8_metadata ($cursection, "Title", $title); 70 70 } 71 71 72 # we need to escape the escape character, or else mg will convert into 73 # eg literal newlines, instead of leaving the text as '\n' 74 $$textref =~ s/\\/\\\\/g; 75 72 76 # insert preformat tags and add text to document object 73 77 $doc_obj->add_utf8_text($cursection, "<pre>\n$$textref\n</pre>");
Note:
See TracChangeset
for help on using the changeset viewer.