mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 06:55:46 +00:00
LaTeX writer: properly handle unnumbered headings level 4+.
Closes #6018. Previously the `\paragraph` command was used instead of `\paragraph*` for unnumbered level 4 headings.
This commit is contained in:
@@ -170,7 +170,7 @@ tests = [ testGroup "code blocks"
|
||||
, "\\addcontentsline{toc}{subsection}{header4}\n"
|
||||
, "\\subsubsection*{header5}"
|
||||
, "\\addcontentsline{toc}{subsubsection}{header5}\n"
|
||||
, "\\paragraph{header6}"
|
||||
, "\\paragraph*{header6}"
|
||||
, "\\addcontentsline{toc}{paragraph}{header6}"
|
||||
]
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user