mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 23:54:16 +08: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({
|
||||
custom(tag, name, value) {
|
||||
if (tag === 'aside' && name === 'class') {
|
||||
return !!/^quote group\-(.+)$/.exec(value);
|
||||
return value === "quote no-group" ||
|
||||
!!/^quote group\-(.+)$/.exec(value);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user