fixing false positive with RNG state 0bc96fe3b8d170254a

This commit is contained in:
El RIDO 2017-10-22 10:55:28 +02:00
parent 4cb21350a0
commit cbcc26ec37
No known key found for this signature in database
GPG Key ID: 0F5C940A6BD81F92
1 changed files with 6 additions and 0 deletions

View File

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