From 58c81db27994177af4e52228d471080df24e627e Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Mon, 2 Apr 2018 14:01:55 -0400 Subject: [PATCH] Apply a 'no-group' class to quotes for styling --- .../pretty-text/engines/discourse-markdown/quotes.js.es6 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js.es6 b/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js.es6 index 26bc3fdb1f9..97ad98445da 100644 --- a/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js.es6 +++ b/app/assets/javascripts/pretty-text/engines/discourse-markdown/quotes.js.es6 @@ -153,7 +153,8 @@ export function setup(helper) { helper.whiteList({ custom(tag, name, value) { if (tag === 'aside' && name === 'class') { - return !!/^quote group\-(.+)$/.exec(value); + return value === "quote no-group" || + !!/^quote group\-(.+)$/.exec(value); } } });