From 50e8c3b107c56d5de4840f369a2e49e4f55cd591 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 24 Jul 2018 11:36:49 -0700 Subject: MediaWiki writer: Avoid extra blank line in tables with empty cells. Note that the old output is semantically identical, but the new output looks better. Closes #4794. --- test/command/4794.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/command/4794.md (limited to 'test/command') diff --git a/test/command/4794.md b/test/command/4794.md new file mode 100644 index 000000000..8356d2157 --- /dev/null +++ b/test/command/4794.md @@ -0,0 +1,18 @@ +``` +% pandoc -f markdown -t mediawiki +| Column1 | Column2 | Column3 | +| ------- | ------- | ------- | +| text | | text | +^D +{| +! Column1 +! Column2 +! Column3 +|- +| text +| +| text +|} + + +``` -- cgit v1.2.3