Konstrukt::Plugin::wiki::markup::htmlescape - Inline plugin to escape HTML markup
my $h = use_plugin 'wiki::markup::htmlescacpe'; my $rv = $h->process($tag);
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.
This <html> will be escaped. <nowiki><em>This</em> HTML won't be escaped.</nowiki>
This method will do the work.
$nodes - Container node (of type Konstrukt::Parser::Node) containing all (text-)nodes of this documents.
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.