From 9df95741872d222f1c30347b518d88ad2e8be927 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Tue, 25 Jan 2022 21:02:55 +0100 Subject: [PATCH] Regression test for double inner backticks Now that we don't parse & serialize that anymore, we can't mess it up, but still good to ensure we never break it again. Fixes #23 --- tests/with_inline_code.in.md | 3 +++ tests/with_inline_code.out.md | 3 +++ 2 files changed, 6 insertions(+) diff --git a/tests/with_inline_code.in.md b/tests/with_inline_code.in.md index c09b35c..5319206 100644 --- a/tests/with_inline_code.in.md +++ b/tests/with_inline_code.in.md @@ -9,3 +9,6 @@ # Header 2 ## Header 2.1 + +When code or an identifier must appear in a message or label, it should be +surrounded with backticks: `` `foo.bar` ``. diff --git a/tests/with_inline_code.out.md b/tests/with_inline_code.out.md index 0576311..8babf7d 100644 --- a/tests/with_inline_code.out.md +++ b/tests/with_inline_code.out.md @@ -12,3 +12,6 @@ # Header 2 ## Header 2.1 + +When code or an identifier must appear in a message or label, it should be +surrounded with backticks: `` `foo.bar` ``.