Apply a 'no-group' class to quotes for styling

This commit is contained in:
Robin Ward 2018-04-02 14:01:55 -04:00
parent 90d3544db8
commit 58c81db279
1 changed files with 2 additions and 1 deletions

View File

@ -153,7 +153,8 @@ export function setup(helper) {
helper.whiteList({ helper.whiteList({
custom(tag, name, value) { custom(tag, name, value) {
if (tag === 'aside' && name === 'class') { if (tag === 'aside' && name === 'class') {
return !!/^quote group\-(.+)$/.exec(value); return value === "quote no-group" ||
!!/^quote group\-(.+)$/.exec(value);
} }
} }
}); });