From 72e3b832f245caeb3abf3209c7123fcab0ab4b00 Mon Sep 17 00:00:00 2001 From: "lina.wolf" Date: Sat, 9 Nov 2024 09:33:04 +0100 Subject: [PATCH] [TASK] Add tests for nested markdown inline syntax --- .../markdown/emphasis-nested-md/expected/index.html | 12 ++++++++++++ .../markdown/emphasis-nested-md/input/guides.xml | 8 ++++++++ .../tests/markdown/emphasis-nested-md/input/index.md | 7 +++++++ 3 files changed, 27 insertions(+) create mode 100644 tests/Integration/tests/markdown/emphasis-nested-md/expected/index.html create mode 100644 tests/Integration/tests/markdown/emphasis-nested-md/input/guides.xml create mode 100644 tests/Integration/tests/markdown/emphasis-nested-md/input/index.md diff --git a/tests/Integration/tests/markdown/emphasis-nested-md/expected/index.html b/tests/Integration/tests/markdown/emphasis-nested-md/expected/index.html new file mode 100644 index 000000000..36fcaeeeb --- /dev/null +++ b/tests/Integration/tests/markdown/emphasis-nested-md/expected/index.html @@ -0,0 +1,12 @@ + + +
+

Markdown with emphasis

+ +

If value 1 is given in a field with marker {receiver}, receivera@domain.org should be chosen and if value 2 or something else is given, receiverb@domain.org should be chosen.

+ + +

~~testaaaaa sdaasdsadasdasd~~

+ +
+ diff --git a/tests/Integration/tests/markdown/emphasis-nested-md/input/guides.xml b/tests/Integration/tests/markdown/emphasis-nested-md/input/guides.xml new file mode 100644 index 000000000..92319864e --- /dev/null +++ b/tests/Integration/tests/markdown/emphasis-nested-md/input/guides.xml @@ -0,0 +1,8 @@ + + + + diff --git a/tests/Integration/tests/markdown/emphasis-nested-md/input/index.md b/tests/Integration/tests/markdown/emphasis-nested-md/input/index.md new file mode 100644 index 000000000..fb7b5e3be --- /dev/null +++ b/tests/Integration/tests/markdown/emphasis-nested-md/input/index.md @@ -0,0 +1,7 @@ +# Markdown with emphasis + +If value 1 is given in a field with marker *{receiver}*, *receivera@domain.org* should be chosen +and if value 2 or something else is given, *receiverb@domain.org* should be chosen. + +_~~**test**`aaaaa` +sdaasdsadasdasd~~_ \ No newline at end of file