From b933d8161164eea1edc05c603a963a9603dd8713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADt=20Novotn=C3=BD?= Date: Tue, 1 Mar 2022 19:53:15 +0100 Subject: [PATCH] Fix default renderer prototypes for block HTML comments --- markdown.dtx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/markdown.dtx b/markdown.dtx index c16740e2a..60d762699 100644 --- a/markdown.dtx +++ b/markdown.dtx @@ -12503,8 +12503,10 @@ following text: \def\markdownRendererTextCitePrototype#1{}% \def\markdownRendererTablePrototype#1#2#3{}% \def\markdownRendererInlineHtmlCommentPrototype#1{}% -\def\markdownRendererBlockHtmlCommentBeginPrototype{\iffalse}% -\def\markdownRendererBlockHtmlCommentEndPrototype{\fi}% +\let\markdownRendererBlockHtmlCommentBeginPrototype=\iffalse +\let\markdownRendererBlockHtmlCommentBegin=\iffalse +\let\markdownRendererBlockHtmlCommentEndPrototype=\fi +\let\markdownRendererBlockHtmlCommentEnd=\fi \def\markdownRendererInlineHtmlTagPrototype#1{}% \def\markdownRendererInputBlockHtmlElementPrototype#1{}% \def\markdownRendererTickedBoxPrototype{}%