From e94f67e2da7c08780329544c7989c5efee8fd875 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Thu, 22 Aug 2019 15:27:45 +0200 Subject: [PATCH] prettier (#8031) --- .../engines/discourse-markdown/text-post-process.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/pretty-text/engines/discourse-markdown/text-post-process.js.es6 b/app/assets/javascripts/pretty-text/engines/discourse-markdown/text-post-process.js.es6 index 020545e2857..84a0d5cd70b 100644 --- a/app/assets/javascripts/pretty-text/engines/discourse-markdown/text-post-process.js.es6 +++ b/app/assets/javascripts/pretty-text/engines/discourse-markdown/text-post-process.js.es6 @@ -87,7 +87,7 @@ function textPostProcess(content, state, ruler) { const matcher = ruler.getMatcher(); - while (match = matcher.exec(content)) { + while ((match = matcher.exec(content))) { // something is wrong if (match.index < pos) break;