handling JSVerify RNG states 08a8fd9e23076415bc & 8623a0cde74fb19568
This commit is contained in:
parent
01a6c0142a
commit
9af4a4e2f5
@ -803,8 +803,8 @@ describe('Model', function () {
|
|||||||
element = element.join('');
|
element = element.join('');
|
||||||
value = value.join('').trim();
|
value = value.join('').trim();
|
||||||
|
|
||||||
// <br> tags can't contain strings, table tags can't be alone, so test with a <p> instead
|
// <br>, <hr> and <wbr> tags can't contain strings, table tags can't be alone, so test with a <p> instead
|
||||||
if (['br', 'tr', 'td', 'th'].indexOf(element) >= 0) {
|
if (['br', 'hr', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) {
|
||||||
element = 'p';
|
element = 'p';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user