mirror of
https://github.com/discourse/discourse.git
synced 2025-02-17 08:45:05 +00:00
Apply a 'no-group' class to quotes for styling
This commit is contained in:
parent
90d3544db8
commit
58c81db279
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user