diff --git a/js/test/I18n.js b/js/test/I18n.js index 67b1ca94..6d82b63b 100644 --- a/js/test/I18n.js +++ b/js/test/I18n.js @@ -33,7 +33,16 @@ describe('I18n', function () { var fakeAlias = $.PrivateBin.I18n._(fake); $.PrivateBin.I18n.reset(); - messageId = $.PrivateBin.Helper.htmlEntities(messageId); + if (messageId.indexOf('').text((prefix + params[0] + postfix)).text(); let args = Array.prototype.slice.call(params); args.unshift(prefix + '%s' + postfix);