NAME
Konstrukt::Plugin::wiki::markup::htmlescape - Inline plugin to escape HTML markup
SYNOPSIS
my $h = use_plugin 'wiki::markup::htmlescacpe';
my $rv = $h->process($tag);
DESCRIPTION
This one will do a simple search and replace for a some critical characters (i.e. <, >, & and ") and will replace them.
The replacement will only be done on text nodes, that are not wiki_finished.
You might want to put this one as late as possible in the filter chain.
EXAMPLE
This <html> will be escaped.
<nowiki><em>This</em> HTML won't be escaped.</nowiki>
METHODS
process
This method will do the work.
Parameters:
$nodes - Container node (of type Konstrukt::Parser::Node) containing all (text-)nodes of this documents.
AUTHOR
Copyright 2006 Thomas Wittek (mail at gedankenkonstrukt dot de). All rights reserved.
This document is free software. It is distributed under the same terms as Perl itself.