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

View File

@ -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);
}
}
});