aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorAlbert Krewinkel <albert@zeitkraut.de>2021-05-05 19:00:53 +0200
committerAlbert Krewinkel <albert@zeitkraut.de>2021-05-05 19:09:21 +0200
commit8357b835d9c6d17f32bded56aa24059c2f6e0678 (patch)
treee93428fe479e1449054a6d4f51630a6eed13fb18 /test/command
parentddbf83f62c8bb6516203c99acd894c404351b5ae (diff)
downloadpandoc-8357b835d9c6d17f32bded56aa24059c2f6e0678.tar.gz
App: allow tabs expansion even if file-scope is used
Tabs in plain-text inputs are now handled correctly, even if the `--file-scope` flag is used. Closes: #6709
Diffstat (limited to 'test/command')
-rw-r--r--test/command/6709.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/command/6709.md b/test/command/6709.md
new file mode 100644
index 000000000..d6d514552
--- /dev/null
+++ b/test/command/6709.md
@@ -0,0 +1,11 @@
+Tabs must be expanded even if --file-scope is used
+````
+% pandoc -t native --file-scope --tab-stop=2
+```
+if true; then
+ echo "yup"
+fi
+```
+^D
+[CodeBlock ("",[],[]) "if true; then\n echo \"yup\"\nfi"]
+````