Hi,
Yes, this CDATA is there to be able to use and with XHTML.
You can construct the templates directly with renderString() method to
avoid the CDATA.
On Fri, Dec 9, 2011 at 3:17 PM, Serban Balamaci serban.balam...@asf.ro wrote:
Hi all,
Our javascript developer complains that Wicket automatically adds the CDATA
part whenever it encounters the *script* tag.
He's trying to embed a template in the html file(not in the head section)
and he gets a bunch of CDATA along with the html which will get
multiplied(we're creating a breadcrumb component)
we're using underscore.js and the idea it's based on
http://ejohn.org/blog/javascript-micro-templating/
I've said that the CDATA is there to pass the validation of the html, but he
says html5 is not xhtml and is much looser with validations.
-
http://balamaci.wordpress.com
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Bypass-CDATA-contribution-on-script-tags-tp4176752p4176752.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org
--
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org