From 1d6bdfce8020af83f100c66a9cd21b395f3c1bdc Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Thu, 22 Aug 2024 08:38:54 -0700 Subject: [PATCH] skip editblocks --- testsr.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/testsr.py b/testsr.py index d3bfcd06c..67a887bea 100755 --- a/testsr.py +++ b/testsr.py @@ -28,6 +28,9 @@ def process_markdown(filename): # Get the content (everything after the header) content = "\n".join(section.split("\n")[1:]).strip() + if "editblock" in content: + continue + for fence in all_fences: if "\n" + fence[0] in content: break