HTML::Template::Compiled::Plugin::VBEscape - VB-Script-Escaping for HTC
0.03
use HTML::Template::Compiled::Plugin::VBEscape; my $htc = HTML::Template::Compiled->new( plugin => [qw(HTML::Template::Compiled::Plugin::VBEscape)], tagstyle => [qw(-classic -comment +asp)], scalarref => \<<'EOVB'); ); <script language="VBScript"><!-- string1 = "<%= attribute ESCAPE=VB%>" string2 = "<%= cdata ESCAPE=VB%>" '--></script> EOVB $htc->param( attribute => 'foo "bar"', cdata => 'text "with" double quotes', ); print $htc->output();
Output:
<script language="VBScript"><!-- string1 = "foo ""bar""" string2 = "text ""with"" double quotes" '--></script>
VB-Script-Escaping for HTML::Template::Compiled
Inside of this Distribution is a directory named example. Run this *.pl files.
gets called by HTC
Escapes data for VB CDATA or for VB attributes.
none
HTML::Template::Compiled
not known
Steffen Winkler
Copyright (c) 2007 - 2009, Steffen Winkler <steffenw at cpan.org>. All rights reserved.
<steffenw at cpan.org>
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install HTML::Template::Compiled::Plugin::VBEscape, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::Template::Compiled::Plugin::VBEscape
CPAN shell
perl -MCPAN -e shell install HTML::Template::Compiled::Plugin::VBEscape
For more information on module installation, please visit the detailed CPAN module installation guide.