mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 20:21:25 +08:00
FIX: medium URL with @ incorrectly handled as mention
Also: - remove unused code - rename bbcode_ruler to bbcode.ruler - add md.core.textPostProcess.ruler to apply at end of chain (excluding links)
This commit is contained in:
@ -295,7 +295,7 @@ function newApiInit(helper) {
|
||||
});
|
||||
|
||||
helper.registerPlugin(md => {
|
||||
md.block.bbcode_ruler.push('poll', rule);
|
||||
md.block.bbcode.ruler.push('poll', rule);
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user