A platform for community discussion. Free, open, simple.
prettier (#8031)
Joffrey JAFFEUXe94f67e2da7c
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.es6index 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 wrongif (match.index < pos) break;