From 244a06eea6a96d538ee767029e2df63382ea332e Mon Sep 17 00:00:00 2001 From: asmsuechan Date: Mon, 12 Jun 2017 18:12:11 +0900 Subject: [PATCH] Fix some pointed by lint --- browser/lib/htmlTextHelper.js | 2 +- tests/lib/html-text-helper-test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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'], [' {