WriteCapture2.js and sanitize()

60 views
Skip to first unread message

Calvin Spealman

unread,
Jul 13, 2012, 12:01:17 PM7/13/12
to writecaptu...@googlegroups.com
I don't see a sanitize() function in the new version of write capture. Is there a way to get this behavior?

noah

unread,
Jul 13, 2012, 1:58:06 PM7/13/12
to writecaptu...@googlegroups.com
Nope. wc2 is DOM based.

Calvin Spealman

unread,
Jul 16, 2012, 11:27:58 AM7/16/12
to writecaptu...@googlegroups.com
Is there a reason it can't be done or won't be done? Was the sanitize approach a particular difficult option to support?

noah

unread,
Jul 16, 2012, 12:52:22 PM7/16/12
to writecaptu...@googlegroups.com
It really doesn't make sense for wc2. The point of wc2 is that it puts
elements into the DOM in real time, just like document.write does,
which makes it more compatible. Is there something in particularly
you're trying to do that can only be done with sanitize?
Reply all
Reply to author
Forward
0 new messages