From 8263ea2bf7f711c636c5b2ad0e704640fbeb6694 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 31 Jan 2026 10:47:46 +0100 Subject: [PATCH] Add tests for #8024. --- pandoc.cabal | 2 ++ test/command/8024.md | 10 ++++++++++ test/command/8024a.yaml | 2 ++ test/command/8024b.yaml | 3 +++ 4 files changed, 17 insertions(+) create mode 100644 test/command/8024.md create mode 100644 test/command/8024a.yaml create mode 100644 test/command/8024b.yaml diff --git a/pandoc.cabal b/pandoc.cabal index 2ce68e36f..dc99fe5bd 100644 --- a/pandoc.cabal +++ b/pandoc.cabal @@ -248,6 +248,8 @@ extra-source-files: test/command/defaults7.yaml test/command/defaults8.yaml test/command/defaults9.yaml + test/command/8024a.yaml + test/command/8024b.yaml test/command/3533-rst-csv-tables.csv test/command/3880.txt test/command/5182.txt diff --git a/test/command/8024.md b/test/command/8024.md new file mode 100644 index 000000000..e8b1fc56b --- /dev/null +++ b/test/command/8024.md @@ -0,0 +1,10 @@ +``` +% pandoc -d command/8024a.yaml -t markdown +Hello, if this works the text should be wrapped. +^D +Hello, if this +works the text +should be +wrapped. + +``` diff --git a/test/command/8024a.yaml b/test/command/8024a.yaml new file mode 100644 index 000000000..12344cfa2 --- /dev/null +++ b/test/command/8024a.yaml @@ -0,0 +1,2 @@ +defaults: ${.}/8024b.yaml + diff --git a/test/command/8024b.yaml b/test/command/8024b.yaml new file mode 100644 index 000000000..cb8d5b098 --- /dev/null +++ b/test/command/8024b.yaml @@ -0,0 +1,3 @@ +wrap: auto +columns: 15 +