fix wrong event name in emphasisAndStrong onEnd event

This commit is contained in:
Estevão Soares dos Santos 2022-04-02 22:34:17 +01:00
parent 6bb0d01e5a
commit 05b84f2929

View File

@ -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)