summaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2024-01-22 18:03:53 +0100
committerAlbert Krewinkel <albert@zeitkraut.de>2024-01-22 18:13:34 +0100
commit57774d79e86c8645b5f8252c8be8554f1c412a24 (patch)
tree5a4483ab3339d56b409fe2a13a5f0de2c919d53e /test/command
parent734f86061893e81a14ef94432555f4edd24b2b8f (diff)
Org writer: escape special lines in code blocks
Fixes: #9218
Diffstat (limited to 'test/command')
-rw-r--r--test/command/9218.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/command/9218.md b/test/command/9218.md
new file mode 100644
index 000000000..875c17272
--- /dev/null
+++ b/test/command/9218.md
@@ -0,0 +1,22 @@
+# Escape special lines in Org-mode code blocks
+
+````
+% pandoc -f markdown -t org
+``` org
+** Click Application
+*** Imports
+
+#+begin_src py
+from addict import Dict
+#+end_src
+```
+^D
+#+begin_src org
+,** Click Application
+,*** Imports
+
+,#+begin_src py
+from addict import Dict
+,#+end_src
+#+end_src
+````