Update of
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
In directory
james.mmbase.org:/tmp/cvs-serv25891/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
Modified Files:
Tag: MMBase-1_8
taglibcontent.xml
Log Message:
added missing js escaper
See also:
http://cvs.mmbase.org/viewcvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources
Index: taglibcontent.xml
===================================================================
RCS file:
/var/cvs/applications/taglib/src/org/mmbase/bridge/jsp/taglib/resources/taglibcontent.xml,v
retrieving revision 1.51.2.3
retrieving revision 1.51.2.4
diff -u -b -r1.51.2.3 -r1.51.2.4
--- taglibcontent.xml 31 Jul 2007 12:04:00 -0000 1.51.2.3
+++ taglibcontent.xml 13 Feb 2008 09:19:23 -0000 1.51.2.4
@@ -5,7 +5,7 @@
It is not a good idea to change things in this XML (because this might cause
portability issues), but
you can _add_ (and propose them to the community) or _remove_ things (if you
find them undesirable).
- version: $Id: taglibcontent.xml,v 1.51.2.3 2007/07/31 12:04:00 michiel Exp $
+ version: $Id: taglibcontent.xml,v 1.51.2.4 2008/02/13 09:19:23 ernst Exp $
-->
<!-- First per content-type default escapers and postprocessors are defined.
@@ -187,6 +187,10 @@
<class
config="ESCAPE_DOUBLE_QUOTES">org.mmbase.util.transformers.Javascript</class>
<info>Escapes double quotes for use in Javascript (with ").</info>
</escaper>
+ <escaper id="js-both-quotes">
+ <class
config="ESCAPE_BOTH_QUOTES">org.mmbase.util.transformers.Javascript</class>
+ <info>Escapes both quote types (' and ")for use in Javascript (with
\').</info>
+ </escaper>
<escaper id="url">
<class config="ESCAPE">org.mmbase.util.transformers.Url</class>
<info>Escapes for use in an URL (using escaping with %). When you use
mm:url with mm:param tags you will not have to use this.</info>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs