odoo/addons/web/static/lib/qweb
Nicolas Lempereur 716ceede16 [FIX] web_enterprise: kanban_state_selection ie
On IE (from 9.0 up to at least IE EDGE 14) we have this behavior
for the method serializeToString of XMLSerializer:

> (new XMLSerializer()).serializeToString($('<b>"</b>')[0])
  '<b xmlns="http://www.w3.org/1999/xhtml">"</b>'
> (new XMLSerializer()).serializeToString($('<b>"</b>')[0].firstChild)
  '&quot;'

Whilst browser such as chromium or firefox have:

> (new XMLSerializer()).serializeToString($('<b>"</b>')[0])
  '<b xmlns="http://www.w3.org/1999/xhtml">"</b>'
> (new XMLSerializer()).serializeToString($('<b>"</b>')[0].firstChild)
  '"'

Hence for IE9 and over, if in a `<t t-extend/>` a `t-jquery`
sub-directive (without `t-operation`) is available, we can have
broken javascript if a " is transformed into an &quot; at a unfortunate
location.

This commit favour node.data over XMLSerializer serializeToString to
avoid the possibility of this issue when a text node is processed.

opw-727283
2017-04-20 17:08:17 +02:00
..
qweb-benchmark.html [FIX] qweb: benchmark on browsers without console.time & console/timeEnd 2012-01-17 15:38:06 +01:00
qweb-benchmark.xml [FIX] Do not self close empty elements that are not html void elements 2014-05-07 14:14:13 +02:00
qweb-test-attributes.xml [IMP] qweb doc, tests 2014-10-06 19:13:43 +02:00
qweb-test-call.xml [ADD] qweb: call directive's body 2014-10-06 19:13:45 +02:00
qweb-test-conditionals.xml [IMP] qweb doc, tests 2014-10-06 19:13:43 +02:00
qweb-test-extend.xml [IMP] qweb doc, tests 2014-10-06 19:13:43 +02:00
qweb-test-foreach.xml [IMP] qweb doc, tests 2014-10-06 19:13:43 +02:00
qweb-test-output.xml [IMP] qweb doc, tests 2014-10-06 19:13:43 +02:00
qweb-test-set.xml [IMP] qweb doc, tests 2014-10-06 19:13:43 +02:00
qweb-test-utf8tags.xml [FIX] qweb: handle unicode tags and attributes 2015-11-19 14:59:44 +01:00
qweb-test.js.html [FIX] Web: qweb-test.js.html: use local copy of jquery and qunit 2015-01-23 11:11:27 +01:00
qweb.js Updated qweb 2013-07-31 16:11:39 +02:00
qweb2.js [FIX] web_enterprise: kanban_state_selection ie 2017-04-20 17:08:17 +02:00