fixed macro filtering

This commit is contained in:
JT Smith 2003-03-17 00:52:41 +00:00
parent af83b74240
commit 85eeaf28b4
3 changed files with 30 additions and 3 deletions

View file

@ -123,6 +123,29 @@ sub getParams {
return @param;
}
#-------------------------------------------------------------------
=head2 negate ( html )
Nullifies all macros in this content segment.
=over
=item html
A string of HTML to be processed.
=back
=cut
sub negate {
my $html = $_[0];
$html =~ s/\^/\&\#94\;/g;
return $html;
}
#-------------------------------------------------------------------
=head2 process ( html )