summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan-Erik Rediger <janerik@fnordig.de>2022-01-25 21:02:55 +0100
committerJan-Erik Rediger <janerik@fnordig.de>2022-01-25 21:06:45 +0100
commit9df95741872d222f1c30347b518d88ad2e8be927 (patch)
tree8e97f3886420c6b28a7adf7e99fdacc837b426be
parent81157fa10933e52673c5cdf8b20981da660f9552 (diff)
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
-rw-r--r--tests/with_inline_code.in.md3
-rw-r--r--tests/with_inline_code.out.md3
2 files changed, 6 insertions, 0 deletions
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` ``.