handling JSVerify RNG state 82fb7d20c918a6e543

This commit is contained in:
El RIDO 2017-11-20 08:58:53 +01:00
parent 360a0921e2
commit 5a2bb1993d
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 3 additions and 2 deletions

View File

@ -804,8 +804,9 @@ describe('Model', function () {
element = element.join('');
value = value.join('').trim();
// <br>, <hr> and <wbr> tags can't contain strings, table tags can't be alone, so test with a <p> instead
if (['br', 'col', 'hr', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) {
// <br>, <hr>, <img> and <wbr> tags can't contain strings,
// table tags can't be alone, so test with a <p> instead
if (['br', 'col', 'hr', 'img', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) {
element = 'p';
}