mirror of
https://github.com/showdownjs/showdown.git
synced 2024-03-22 13:30:55 +08:00
fix wrong event name in emphasisAndStrong onEnd event
This commit is contained in:
parent
6bb0d01e5a
commit
05b84f2929
|
@ -149,7 +149,7 @@ showdown.subParser('makehtml.emphasisAndStrong', function (text, options, global
|
|||
return (/\S$/.test(m)) ? parseInside (m, '<em>', wm, asteriskEm) : wm;
|
||||
});
|
||||
//}
|
||||
let afterEvent = new showdown.helper.Event('makehtml.italicsAndBold.onEnd', text);
|
||||
let afterEvent = new showdown.helper.Event('makehtml.emphasisAndStrong.onEnd', text);
|
||||
afterEvent
|
||||
.setOutput(text)
|
||||
._setGlobals(globals)
|
||||
|
|
Loading…
Reference in New Issue
Block a user