From e5650129a37241bacab84854b512307fa238ed27 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Wed, 14 Nov 2018 17:07:14 -0800 Subject: [PATCH] lint --- api/handlers/image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/handlers/image.js b/api/handlers/image.js index 1b4cbab..163b018 100644 --- a/api/handlers/image.js +++ b/api/handlers/image.js @@ -26,7 +26,7 @@ module.exports = browser => async (req, res) => { // %[00 -> 19] cause failures if ( n.innerText && - node.innerText.match(/%\d\S/) && + n.innerText.match(/%\d\S/) && n.className && n.className.startsWith('cm-') // is CodeMirror primitive string ) {