aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-01-05 11:10:07 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-05 11:10:07 -0800
commit66bca029c75e5d29ce10d929f621a82d521bc37c (patch)
treebedd5009f773d9c9431f7e3cf63bc3ec00b77064 /test
parent0dff9b3cd2cd222e5eeebd880f38b38ad5ee58f0 (diff)
downloadpandoc-66bca029c75e5d29ce10d929f621a82d521bc37c.tar.gz
Fix regression in beamer slide structure with certain slide levels.
Closes #6030.
Diffstat (limited to 'test')
-rw-r--r--test/command/6030.md43
1 files changed, 43 insertions, 0 deletions
diff --git a/test/command/6030.md b/test/command/6030.md
index 943150432..44a934a6a 100644
--- a/test/command/6030.md
+++ b/test/command/6030.md
@@ -33,3 +33,46 @@ Four
</section>
</section>
```
+
+```
+% pandoc -t beamer --slide-level=3
+# One
+
+One
+
+## Two
+
+Two
+
+### Three
+
+Three
+
+#### Four
+
+Four
+^D
+\hypertarget{one}{%
+\section{One}\label{one}}
+
+\begin{frame}{One}
+One
+\end{frame}
+
+\hypertarget{two}{%
+\subsection{Two}\label{two}}
+
+\begin{frame}{Two}
+Two
+\end{frame}
+
+\begin{frame}{Three}
+\protect\hypertarget{three}{}
+Three
+
+\begin{block}{Four}
+\protect\hypertarget{four}{}
+Four
+\end{block}
+\end{frame}
+```