aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2025-03-15 11:14:14 -0700
committerJohn MacFarlane <[email protected]>2025-03-15 11:14:36 -0700
commit2b11ce9bab4b91d2c0bd8d02c693b9a77f6dd29d (patch)
treed1a0e59c60a49ae887d6ba6a69367fd0958a6242 /test
parent915e3672c76d24e7a406410c2eb022dc922e708a (diff)
Update tests for previous commit (protecting phantomsection).
Diffstat (limited to 'test')
-rw-r--r--test/command/10185.md4
-rw-r--r--test/command/1710.md2
-rw-r--r--test/command/2874.md2
-rw-r--r--test/command/4016.md6
-rw-r--r--test/command/4690.md2
-rw-r--r--test/command/6030.md4
-rw-r--r--test/command/6107.md4
-rw-r--r--test/command/6360.md2
-rw-r--r--test/command/7278.md8
-rw-r--r--test/command/7857.md2
10 files changed, 18 insertions, 18 deletions
diff --git a/test/command/10185.md b/test/command/10185.md
index f227c8463..e41fdf480 100644
--- a/test/command/10185.md
+++ b/test/command/10185.md
@@ -11,7 +11,7 @@ Lorem ipsum
\section{References}\label{references}
-\phantomsection\label{refs}
+\protect\phantomsection\label{refs}
```
```
@@ -35,7 +35,7 @@ Lorem ipsum (John Doe, n.d.).
\section{References}\label{references}
-\phantomsection\label{refs}
+\protect\phantomsection\label{refs}
\begin{CSLReferences}{1}{0}
\bibitem[\citeproctext]{ref-foo}
John Doe. n.d. \emph{The Title}.
diff --git a/test/command/1710.md b/test/command/1710.md
index 624b1d70b..4b8cad76e 100644
--- a/test/command/1710.md
+++ b/test/command/1710.md
@@ -55,7 +55,7 @@ ok
</div>
^D
\begin{frame}{Slide one}
-\phantomsection\label{slide-one}
+\protect\phantomsection\label{slide-one}
\begin{columns}[T]
\begin{column}{0.4\linewidth}
\begin{itemize}
diff --git a/test/command/2874.md b/test/command/2874.md
index 41bd17959..a82ae3893 100644
--- a/test/command/2874.md
+++ b/test/command/2874.md
@@ -10,5 +10,5 @@
% pandoc -f html -t latex
<a name="foo"></a><br/>
^D
-\phantomsection\label{foo}{}\strut \\
+\protect\phantomsection\label{foo}{}\strut \\
```
diff --git a/test/command/4016.md b/test/command/4016.md
index 2d17e8cfe..3a7f03c5a 100644
--- a/test/command/4016.md
+++ b/test/command/4016.md
@@ -14,11 +14,11 @@
</div>
^D
\begin{frame}{Level 2 blocks}
-\phantomsection\label{level-2-blocks}
+\protect\phantomsection\label{level-2-blocks}
\begin{columns}[T]
\begin{column}{0.4\linewidth}
\begin{block}{Block one}
-\phantomsection\label{block-one}
+\protect\phantomsection\label{block-one}
\begin{itemize}
\tightlist
\item
@@ -29,7 +29,7 @@
\begin{column}{0.6\linewidth}
\begin{block}{Block two}
-\phantomsection\label{block-two}
+\protect\phantomsection\label{block-two}
\begin{itemize}
\tightlist
\item
diff --git a/test/command/4690.md b/test/command/4690.md
index e755f70e2..90adbd3c7 100644
--- a/test/command/4690.md
+++ b/test/command/4690.md
@@ -12,7 +12,7 @@ content2
::::
^D
\begin{frame}{title}
-\phantomsection\label{title}
+\protect\phantomsection\label{title}
\begin{columns}[T]
\begin{column}{0.08\linewidth}
content
diff --git a/test/command/6030.md b/test/command/6030.md
index 0e156a2db..2d7d2175d 100644
--- a/test/command/6030.md
+++ b/test/command/6030.md
@@ -83,11 +83,11 @@ Two
\end{frame}
\begin{frame}{Three}
-\phantomsection\label{three}
+\protect\phantomsection\label{three}
Three
\begin{block}{Four}
-\phantomsection\label{four}
+\protect\phantomsection\label{four}
Four
\end{block}
\end{frame}
diff --git a/test/command/6107.md b/test/command/6107.md
index eca60539b..58f716401 100644
--- a/test/command/6107.md
+++ b/test/command/6107.md
@@ -16,11 +16,11 @@ Not much to do about nothing.
\section{A circus!}\label{a-circus}
\begin{frame}{Another silly title}
-\phantomsection\label{another-silly-title}
+\protect\phantomsection\label{another-silly-title}
Not much to do about nothing.
\end{frame}
\begin{frame}[standout]{Epilogue}
-\phantomsection\label{epilogue}
+\protect\phantomsection\label{epilogue}
\end{frame}
```
diff --git a/test/command/6360.md b/test/command/6360.md
index 1f8a9a6f2..0e14b9b3b 100644
--- a/test/command/6360.md
+++ b/test/command/6360.md
@@ -2,5 +2,5 @@
% pandoc -f native -t latex --wrap=none
[Link ("test2",[],[]) [Str "link",Space,Str "to",Space,Str "text",Space,Str "test1"] ("#test1","")]
^D
-\phantomsection\label{test2}\hyperref[test1]{link to text test1}
+\protect\phantomsection\label{test2}\hyperref[test1]{link to text test1}
```
diff --git a/test/command/7278.md b/test/command/7278.md
index 1ed490e6d..5cd227a94 100644
--- a/test/command/7278.md
+++ b/test/command/7278.md
@@ -17,21 +17,21 @@ text in block
text in block
^D
\begin{frame}{Slide}
-\phantomsection\label{slide}
+\protect\phantomsection\label{slide}
Some blocks:
\begin{exampleblock}{example block title}
-\phantomsection\label{example-block-title}
+\protect\phantomsection\label{example-block-title}
text in block
\end{exampleblock}
\begin{alertblock}{alert block title}
-\phantomsection\label{alert-block-title}
+\protect\phantomsection\label{alert-block-title}
text in block
\end{alertblock}
\begin{block}{block title}
-\phantomsection\label{block-title}
+\protect\phantomsection\label{block-title}
text in block
\end{block}
\end{frame}
diff --git a/test/command/7857.md b/test/command/7857.md
index 424fac8b5..0776fdc0a 100644
--- a/test/command/7857.md
+++ b/test/command/7857.md
@@ -15,7 +15,7 @@ ok
\note{my note}
\begin{frame}{slide}
-\phantomsection\label{slide}
+\protect\phantomsection\label{slide}
ok
\end{frame}
```