development/libraries

perl-Template-Plugin-JavaScript - Encodes text to be safe in JavaScript

Website: http://search.cpan.org/dist/Template-Plugin-JavaScript
License: GPL+ or Artistic
Vendor: Fedora Project
Description:
Template::Plugin::JavaScript is a TT filter that filters text so it can
be safely used in JavaScript quotes. e.g:

  [% USE JavaScript %]
  document.write("[% FILTER js %] Here's some text going on. [% END %]");

will become:

  document.write("\nHere\'s some text going on.\n");

Packages

perl-Template-Plugin-JavaScript-0.01-5.fc14.src [6 KiB] Changelog by Marcela Maslanova (2010-05-06):
- Mass rebuild with perl-5.12.0

Listing created by Repoview-0.6.6-2.fu2012