https://codereview.appspot.com/6810096/diff/1/tests/com/google/caja/plugin/html-sanitizer-test.js
File tests/com/google/caja/plugin/html-sanitizer-test.js (right):

https://codereview.appspot.com/6810096/diff/1/tests/com/google/caja/plugin/html-sanitizer-test.js#newcode350
tests/com/google/caja/plugin/html-sanitizer-test.js:350:
checkT('<p>a<xpx r="1">b</xpx>c</p>',
Are you closing optional tags before doing the replacement or
afterwards?  The original text is equivalent to
   <p>a</p><p>b</p>c,
so I'd expect the output to be
   <p>a</p><xpx r="1">b</xpx>c
instead.

https://codereview.appspot.com/6810096/

Reply via email to