AsciiDoc writer: add blank line after Div.

Closes #6308.
This commit is contained in:
John MacFarlane 2020-04-22 23:04:43 -07:00
parent 7f258cd359
commit 6baacb51bb
2 changed files with 19 additions and 1 deletions

View file

@ -299,7 +299,7 @@ blockToAsciiDoc opts (Div (ident,classes,_) bs) = do
chomp admonitionBody $$
"===="
_ -> blockListToAsciiDoc opts bs
return $ identifier $$ contents
return $ identifier $$ contents $$ blankline
-- | Convert bullet list item (list of blocks) to asciidoc.
bulletListItemToAsciiDoc :: PandocMonad m

18
test/command/6308.md Normal file
View file

@ -0,0 +1,18 @@
```
% pandoc -f org -t asciidoc
* Header
#+begin_tip
I'm a tip
#+end_tip
** Subheader
^D
== Header
[TIP]
====
I'm a tip
====
=== Subheader
```