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:
Sam
2017-07-17 16:21:47 -04:00
parent 29d529020b
commit 8921058c67
17 changed files with 147 additions and 150 deletions

View File

@ -295,7 +295,7 @@ function newApiInit(helper) {
});
helper.registerPlugin(md => {
md.block.bbcode_ruler.push('poll', rule);
md.block.bbcode.ruler.push('poll', rule);
});
}