diff --git a/js/test.js b/js/test.js index 3e6e0775..2939df04 100644 --- a/js/test.js +++ b/js/test.js @@ -804,8 +804,9 @@ describe('Model', function () { element = element.join(''); value = value.join('').trim(); - //
,
and tags can't contain strings, table tags can't be alone, so test with a

instead - if (['br', 'col', 'hr', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) { + //
,


, and tags can't contain strings, + // table tags can't be alone, so test with a

instead + if (['br', 'col', 'hr', 'img', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) { element = 'p'; }