From e9cd7af10e05ce04bd3559a3c027616c455bb1a7 Mon Sep 17 00:00:00 2001 From: Vinoth Kannan Date: Sat, 23 Dec 2017 23:44:57 +0530 Subject: [PATCH] FIX: IE not supporting regex negative lookbehind --- app/assets/javascripts/discourse/lib/to-markdown.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/lib/to-markdown.js.es6 b/app/assets/javascripts/discourse/lib/to-markdown.js.es6 index 7a2bc370af8..2fd90c59e01 100644 --- a/app/assets/javascripts/discourse/lib/to-markdown.js.es6 +++ b/app/assets/javascripts/discourse/lib/to-markdown.js.es6 @@ -2,7 +2,7 @@ import parseHTML from 'discourse/helpers/parse-html'; const trimLeft = text => text.replace(/^\s+/,""); const trimRight = text => text.replace(/\s+$/,""); -const countPipes = text => text.match(/(? text.replace(/\\\|/,"").match(/\|/g).length; class Tag { constructor(name, prefix = "", suffix = "", inline = false) {