diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-01-07 21:07:05 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-07 21:54:14 -0800 |
commit | c1d058aeb1c6a331a2cc22786ffaab17f7118ccd (patch) | |
tree | 9a42e4905cbb28468d5206f1ac8bc67d386a6b5d /src/Text/Pandoc/Writers/CommonMark.hs | |
parent | 710a22e5ac5c9e94cf98bd2a496359fe1573fb97 (diff) | |
download | pandoc-c1d058aeb1c6a331a2cc22786ffaab17f7118ccd.tar.gz |
revealjs writer: fix some section nesting corner cases.
* Ensure that we don't get > 2 levels of section nesting,
even with slide level > 2.
* If slide level == N but there is no N-level header, make
sure the next header with level > N gets treated as a slide
and put in a section, rather than remaining loose.
Closes #5168.
Diffstat (limited to 'src/Text/Pandoc/Writers/CommonMark.hs')
0 files changed, 0 insertions, 0 deletions