handling JSVerify RNG state 82fb7d20c918a6e543

pull/268/merge
El RIDO 7 years ago
parent 360a0921e2
commit 5a2bb1993d
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

@ -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';
}

Loading…
Cancel
Save