mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
handling JSVerify RNG state 82fb7d20c918a6e543
This commit is contained in:
parent
360a0921e2
commit
5a2bb1993d
@ -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…
Reference in New Issue
Block a user