Ignore:
Timestamp:
2001-07-23T16:26:31+12:00 (23 years ago)
Author:
jrm21
Message:

protect against < and > chars, as <pre> tags don't preserve them.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/perllib/plugins/TEXTPlug.pm

    r2450 r2667  
    9797    # eg literal newlines, instead of leaving the text as '\n'
    9898    $$textref =~ s/\\/\\\\/g;
     99    $$textref =~ s/</&lt;/g;
     100    $$textref =~ s/>/&gt;/g;
    99101
    100102    # insert preformat tags and add text to document object
Note: See TracChangeset for help on using the changeset viewer.