Fabian Scheepers wrote:
> Is there a nice tag-way for escapeingf single quotes (for use in a
> javascript document.write ('<mm:field/>')), or do i have to use a custom
> function?
There was not, but I implemeted js-single-quotes, and js-double-quotes for
this goal.
So, from now on you can do document.write('<mm:field escape="js-single-quotes"
/>')
or:
document.write("<mm:field escape='js-double-quotes' />")
whatever you'd prefer..
Michiel
--
Michiel Meeuwissen mihxil'
Mediacentrum 140 H'sum [] ()
+31 (0)35 6772979 nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers