NAME

ClearPress::Template::Plugin::js_string - escape double-quotes, newlines and carriage-returns for javascript purposes

VERSION

$LastChangedRevision: 245 $

SYNOPSIS

DESCRIPTION

SUBROUTINES/METHODS

init - install filter in TT as 'js_string'

filter - escape double-quotes and newlines

DIAGNOSTICS

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

strict
warnings
base
Template::Plugin::Filter

INCOMPATIBILITIES

BUGS AND LIMITATIONS

AUTHOR

$Author: Roger Pettett$

LICENSE AND COPYRIGHT

Copyright (C) 2008 Roger Pettett

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.10 or, at your option, any later version of Perl 5 you may have available.