diff options
author | John MacFarlane <jgm@berkeley.edu> | 2020-05-20 07:45:14 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2020-05-20 07:45:14 -0700 |
commit | f6dfacf9d67d25efad539c3c242a63815ae4f6c7 (patch) | |
tree | 143a8d902c150e7d605ab7fa4c1234d45f1d50d2 /test | |
parent | 311d4c9dfcf61e6e0bd9fdf8ff351d8900bc9a58 (diff) | |
download | pandoc-f6dfacf9d67d25efad539c3c242a63815ae4f6c7.tar.gz |
Add "summary" to list of block-level HTML tags.
Closes #6385. (The summary element needs to be the first
child of details and should not be enclosed by p tags.)
NOTE: you need to include a blank line before the closing
`</details>`, if you want the last part of the content to
be parsed as a paragraph.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/6385.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/command/6385.md b/test/command/6385.md new file mode 100644 index 000000000..f67b82988 --- /dev/null +++ b/test/command/6385.md @@ -0,0 +1,18 @@ +``` +% pandoc -f markdown -t html +<details> +<summary>Show me:</summary> +details para 1 + +details para 2 + +</details> +^D +<details> +<summary> +Show me: +</summary> +<p>details para 1</p> +<p>details para 2</p> +</details> +``` |