aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlexander Krotov <ilabdsf@gmail.com>2019-05-25 18:26:21 +0300
committerAlexander Krotov <ilabdsf@gmail.com>2019-05-25 18:36:56 +0300
commit751427745417c7702a1546b1368db297a44b21e0 (patch)
treeb004ea65224013ce0c448ccef4373960dddcea39 /test
parent19f9eed0bb378dfd488265ef6946492113027cea (diff)
downloadpandoc-751427745417c7702a1546b1368db297a44b21e0.tar.gz
HTML reader: trim definition list terms
Diffstat (limited to 'test')
-rw-r--r--test/command/html-trim-definition-list-terms.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/command/html-trim-definition-list-terms.md b/test/command/html-trim-definition-list-terms.md
new file mode 100644
index 000000000..08e58c73a
--- /dev/null
+++ b/test/command/html-trim-definition-list-terms.md
@@ -0,0 +1,17 @@
+```
+% pandoc -f html -t native
+<dl>
+ <dt>
+ foo
+ bar
+ </dt>
+ <dt>
+ baz
+ </dt>
+ <dd>test</dd>
+</dl>
+^D
+[DefinitionList
+ [([Str "foo",SoftBreak,Str "bar",LineBreak,Str "baz"],
+ [[Plain [Str "test"]]])]]
+```