fixed macro filtering
This commit is contained in:
parent
af83b74240
commit
85eeaf28b4
3 changed files with 30 additions and 3 deletions
|
|
@ -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 )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue