mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-05-04 15:34:59 -04:00
fixing jsverify rngStates 0220439df7ec68a15b, 015c81b7afd06e4293 & 041e3d57692b08fc4a
This commit is contained in:
parent
2d11d7b29e
commit
8a6415ef5f
5 changed files with 17 additions and 16 deletions
|
@ -86,7 +86,7 @@ describe('AttachmentViewer', function () {
|
|||
$.PrivateBin.AttachmentViewer.moveAttachmentTo(element, prefix + '%s' + postfix);
|
||||
// messageIDs with links get a relaxed treatment
|
||||
if (prefix.indexOf('<a') === -1 && postfix.indexOf('<a') === -1) {
|
||||
result = $.PrivateBin.Helper.htmlEntities(prefix + filename + postfix);
|
||||
result = $('<textarea>').text((prefix + filename + postfix)).text();
|
||||
} else {
|
||||
result = prefix + $.PrivateBin.Helper.htmlEntities(filename) + postfix;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue