handling JSVerify RNG state 82fb7d20c918a6e543
This commit is contained in:
parent
360a0921e2
commit
5a2bb1993d
|
@ -804,8 +804,9 @@ describe('Model', function () {
|
||||||
element = element.join('');
|
element = element.join('');
|
||||||
value = value.join('').trim();
|
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
|
// <br>, <hr>, <img> and <wbr> tags can't contain strings,
|
||||||
if (['br', 'col', 'hr', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) {
|
// 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';
|
element = 'p';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue