fix: two backticks with no closing run trip up link parser (#663) (#665)

Signed-off-by: squidfunk <martin.donath@squidfunk.com>
This commit is contained in:
Martin Donath
2026-05-12 09:43:32 +02:00
committed by GitHub
parent 5ef9ee4ee3
commit c338b270b5
2 changed files with 19 additions and 2 deletions
@@ -1554,6 +1554,10 @@ class TestInlineCode:
b"``text`[text](href)``",
id="inline-code, inner backticks",
),
pytest.param(
b"`` `[text](href)`",
id="inline-code, empty code span",
),
],
)
def test_inline_code(self, md: bytes) -> None: