From b1ee747a249e0c1b1840222ef77607218157f099 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 17 Sep 2017 12:49:15 -0700 Subject: Added `--strip-comments` option, `readerStripComments` in `ReaderOptions`. * Options: Added readerStripComments to ReaderOptions. * Added `--strip-comments` command-line option. * Made `htmlTag` from the HTML reader sensitive to this feature. This affects Markdown and Textile input. Closes #2552. --- test/command/2552.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 test/command/2552.md (limited to 'test') diff --git a/test/command/2552.md b/test/command/2552.md new file mode 100644 index 000000000..90a3a381c --- /dev/null +++ b/test/command/2552.md @@ -0,0 +1,14 @@ +``` +% pandoc --strip-comments +Foo + +bar + + + +bazboop +^D +

Foo

+

bar

+

bazboop

+``` -- cgit v1.2.3