mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
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('');
|
||||
value = value.join('').trim();
|
||||
|
||||
// <br> 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) {
|
||||
// <br>, <hr> and <wbr> tags can't contain strings, table tags can't be alone, so test with a <p> instead
|
||||
if (['br', 'hr', 'tr', 'td', 'th', 'wbr'].indexOf(element) >= 0) {
|
||||
element = 'p';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user