Changeset 3932


Ignore:
Timestamp:
2003-03-19T17:34:21+12:00 (21 years ago)
Author:
jrm21
Message:

need to escape _ chars.

File:
1 edited

Legend:

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

    r3732 r3932  
    122122    # we need to escape the escape character, or else mg will convert into
    123123    # eg literal newlines, instead of leaving the text as '\n'
    124     $$textref =~ s/\\/\\\\/g;
     124    $$textref =~ s/\\/\\\\/g; # macro language
     125    $$textref =~ s/_/\\_/g; # macro language
    125126    $$textref =~ s/</&lt;/g;
    126127    $$textref =~ s/>/&gt;/g;
Note: See TracChangeset for help on using the changeset viewer.