From 8eb13b4cd0455f4b2dbd6ebdf2f7845181ec58e8 Mon Sep 17 00:00:00 2001 From: Crozzers Date: Sun, 2 Jul 2023 17:12:37 +0100 Subject: [PATCH] Fix wavedrom tests --- lib/markdown2.py | 2 +- test/tm-cases/wavedrom.html | 2 +- test/tm-cases/wavedrom_no_embed.html | 2 +- test/tm-cases/wavedrom_no_embed.text | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/markdown2.py b/lib/markdown2.py index bbb74d5e..7307be94 100755 --- a/lib/markdown2.py +++ b/lib/markdown2.py @@ -2942,7 +2942,7 @@ class Wavedrom(Extra): Support for generating Wavedrom digital timing diagrams ''' name = 'wavedrom' - order = Stage.before(Stage.CODE_BLOCKS) + Stage.after(Stage.PREPROCESS) + order = Stage.before(Stage.CODE_BLOCKS, FencedCodeBlocks) + Stage.after(Stage.PREPROCESS) def test(self, text): match = FencedCodeBlocks.fenced_code_block_re.search(text) diff --git a/test/tm-cases/wavedrom.html b/test/tm-cases/wavedrom.html index e7a99a47..ddedb0d1 100644 --- a/test/tm-cases/wavedrom.html +++ b/test/tm-cases/wavedrom.html @@ -174,7 +174,7 @@