mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-03-22 13:10:41 +08:00
fixing false positive with RNG state 0bc96fe3b8d170254a
This commit is contained in:
parent
4cb21350a0
commit
cbcc26ec37
|
@ -802,6 +802,12 @@ describe('Model', function () {
|
|||
id = id.join('');
|
||||
element = element.join('');
|
||||
value = value.join('').trim();
|
||||
|
||||
// <br> tags can't contain strings, so test with a <p> instead
|
||||
if (element == 'br') {
|
||||
element = 'p';
|
||||
}
|
||||
|
||||
$('body').html(
|
||||
'<div id="templates"><' + element + ' id="' + id +
|
||||
'template">' + value + '</' + element + '></div>'
|
||||
|
|
Loading…
Reference in New Issue
Block a user