diff --git a/marko/ext/gfm/elements.py b/marko/ext/gfm/elements.py index ee81cc6..f2b0886 100644 --- a/marko/ext/gfm/elements.py +++ b/marko/ext/gfm/elements.py @@ -35,7 +35,7 @@ class InlineHTML(inline.InlineHTML): class Strikethrough(inline.InlineElement): pattern = re.compile(r"~~([^~]+)~~") - priority = 4 + priority = 5 parse_children = True diff --git a/noxfile.py b/noxfile.py index e7f0ea1..a5047e9 100644 --- a/noxfile.py +++ b/noxfile.py @@ -5,7 +5,7 @@ import nox os.environ.update(PDM_IGNORE_SAVED_PYTHON="1") -@nox.session(python=["3.6", "3.8", "3.9", "3.10"]) +@nox.session(python=["3.6", "3.8", "3.9", "3.10", "3.11"]) def tests(session): session.run("pdm", "install", "-d", external=True) session.run("pytest", "tests/")