aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-09-17 12:49:15 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2017-09-17 13:01:27 -0700
commitb1ee747a249e0c1b1840222ef77607218157f099 (patch)
treed3dae4803ee2585ba3d44fca9c42a2a31e5cdb6f /test
parentce05814372b5a9d3d8f90dcd0e7c56df77d966a0 (diff)
downloadpandoc-b1ee747a249e0c1b1840222ef77607218157f099.tar.gz
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.
Diffstat (limited to 'test')
-rw-r--r--test/command/2552.md14
1 files changed, 14 insertions, 0 deletions
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
+
+<!-- comment -->
+
+baz<!-- bim -->boop
+^D
+<p>Foo</p>
+<p>bar</p>
+<p>bazboop</p>
+```