From 19c55ac8480775c26cd553d670092eb2a7ab2756 Mon Sep 17 00:00:00 2001 From: Jang Ryeol Date: Sun, 11 Apr 2021 19:12:00 +0900 Subject: [PATCH] Fix hook --- Pandoc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Pandoc.php b/Pandoc.php index ededb0e..01f6d77 100644 --- a/Pandoc.php +++ b/Pandoc.php @@ -30,7 +30,7 @@ $wgPandocExecutableOption = '--wrap=preserve'; // Register hook -$wgHooks['ParserBeforeInternalParse'][] = 'MarkdownExtension::onParserBeforeInternalParse'; +$wgHooks['ParserBeforeInternalParse'][] = 'PandocExtension::onParserBeforeInternalParse'; class PandocExtension {