diff --git a/browser/lib/htmlTextHelper.js b/browser/lib/htmlTextHelper.js index be9968b8..ccc545e3 100644 --- a/browser/lib/htmlTextHelper.js +++ b/browser/lib/htmlTextHelper.js @@ -14,7 +14,7 @@ export function decodeEntities (text) { ['lt', '<'], ['gt', '>'], ['#63', '\\?'], - ['#36', '\\$'], + ['#36', '\\$'] ] for (var i = 0, max = entities.length; i < max; ++i) { diff --git a/tests/lib/html-text-helper-test.js b/tests/lib/html-text-helper-test.js index 8036e3bf..538b8757 100644 --- a/tests/lib/html-text-helper-test.js +++ b/tests/lib/html-text-helper-test.js @@ -29,7 +29,7 @@ test('htmlTextHelper#decodeEntities() should return decoded text (string)', t => ['var test = \'test\'', 'var test = 'test''], ['Boostnote', '<a href='https://boostnote.io'>Boostnote'], [' {