From 05b84f29291c62240279787eb6f86b5e0c0060dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Estev=C3=A3o=20Soares=20dos=20Santos?= Date: Sat, 2 Apr 2022 22:34:17 +0100 Subject: [PATCH] fix wrong event name in emphasisAndStrong onEnd event --- src/subParsers/makehtml/emphasisAndStrong.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/subParsers/makehtml/emphasisAndStrong.js b/src/subParsers/makehtml/emphasisAndStrong.js index 6f3993e..a69946b 100644 --- a/src/subParsers/makehtml/emphasisAndStrong.js +++ b/src/subParsers/makehtml/emphasisAndStrong.js @@ -149,7 +149,7 @@ showdown.subParser('makehtml.emphasisAndStrong', function (text, options, global return (/\S$/.test(m)) ? parseInside (m, '', 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)