handling JSVerify RNG states 08a8fd9e23076415bc & 8623a0cde74fb19568

This commit is contained in:
El RIDO 2017-11-04 09:02:05 +01:00
parent 01a6c0142a
commit 9af4a4e2f5
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92

View File

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