Skip to content

Commit 2b11ce9

Browse files
committed
Update tests for previous commit (protecting phantomsection).
1 parent 915e367 commit 2b11ce9

File tree

10 files changed

+18
-18
lines changed

10 files changed

+18
-18
lines changed

test/command/10185.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Lorem ipsum
1111
1212
\section{References}\label{references}
1313
14-
\phantomsection\label{refs}
14+
\protect\phantomsection\label{refs}
1515
```
1616

1717
```
@@ -35,7 +35,7 @@ Lorem ipsum (John Doe, n.d.).
3535
3636
\section{References}\label{references}
3737
38-
\phantomsection\label{refs}
38+
\protect\phantomsection\label{refs}
3939
\begin{CSLReferences}{1}{0}
4040
\bibitem[\citeproctext]{ref-foo}
4141
John Doe. n.d. \emph{The Title}.

test/command/1710.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ok
5555
</div>
5656
^D
5757
\begin{frame}{Slide one}
58-
\phantomsection\label{slide-one}
58+
\protect\phantomsection\label{slide-one}
5959
\begin{columns}[T]
6060
\begin{column}{0.4\linewidth}
6161
\begin{itemize}

test/command/2874.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
% pandoc -f html -t latex
1111
<a name="foo"></a><br/>
1212
^D
13-
\phantomsection\label{foo}{}\strut \\
13+
\protect\phantomsection\label{foo}{}\strut \\
1414
```

test/command/4016.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
</div>
1515
^D
1616
\begin{frame}{Level 2 blocks}
17-
\phantomsection\label{level-2-blocks}
17+
\protect\phantomsection\label{level-2-blocks}
1818
\begin{columns}[T]
1919
\begin{column}{0.4\linewidth}
2020
\begin{block}{Block one}
21-
\phantomsection\label{block-one}
21+
\protect\phantomsection\label{block-one}
2222
\begin{itemize}
2323
\tightlist
2424
\item
@@ -29,7 +29,7 @@
2929
3030
\begin{column}{0.6\linewidth}
3131
\begin{block}{Block two}
32-
\phantomsection\label{block-two}
32+
\protect\phantomsection\label{block-two}
3333
\begin{itemize}
3434
\tightlist
3535
\item

test/command/4690.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ content2
1212
::::
1313
^D
1414
\begin{frame}{title}
15-
\phantomsection\label{title}
15+
\protect\phantomsection\label{title}
1616
\begin{columns}[T]
1717
\begin{column}{0.08\linewidth}
1818
content

test/command/6030.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ Two
8383
\end{frame}
8484
8585
\begin{frame}{Three}
86-
\phantomsection\label{three}
86+
\protect\phantomsection\label{three}
8787
Three
8888
8989
\begin{block}{Four}
90-
\phantomsection\label{four}
90+
\protect\phantomsection\label{four}
9191
Four
9292
\end{block}
9393
\end{frame}

test/command/6107.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Not much to do about nothing.
1616
\section{A circus!}\label{a-circus}
1717
1818
\begin{frame}{Another silly title}
19-
\phantomsection\label{another-silly-title}
19+
\protect\phantomsection\label{another-silly-title}
2020
Not much to do about nothing.
2121
\end{frame}
2222
2323
\begin{frame}[standout]{Epilogue}
24-
\phantomsection\label{epilogue}
24+
\protect\phantomsection\label{epilogue}
2525
\end{frame}
2626
```

test/command/6360.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
% pandoc -f native -t latex --wrap=none
33
[Link ("test2",[],[]) [Str "link",Space,Str "to",Space,Str "text",Space,Str "test1"] ("#test1","")]
44
^D
5-
\phantomsection\label{test2}\hyperref[test1]{link to text test1}
5+
\protect\phantomsection\label{test2}\hyperref[test1]{link to text test1}
66
```

test/command/7278.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,21 +17,21 @@ text in block
1717
text in block
1818
^D
1919
\begin{frame}{Slide}
20-
\phantomsection\label{slide}
20+
\protect\phantomsection\label{slide}
2121
Some blocks:
2222
2323
\begin{exampleblock}{example block title}
24-
\phantomsection\label{example-block-title}
24+
\protect\phantomsection\label{example-block-title}
2525
text in block
2626
\end{exampleblock}
2727
2828
\begin{alertblock}{alert block title}
29-
\phantomsection\label{alert-block-title}
29+
\protect\phantomsection\label{alert-block-title}
3030
text in block
3131
\end{alertblock}
3232
3333
\begin{block}{block title}
34-
\phantomsection\label{block-title}
34+
\protect\phantomsection\label{block-title}
3535
text in block
3636
\end{block}
3737
\end{frame}

test/command/7857.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ok
1515
\note{my note}
1616
1717
\begin{frame}{slide}
18-
\phantomsection\label{slide}
18+
\protect\phantomsection\label{slide}
1919
ok
2020
\end{frame}
2121
```

0 commit comments

Comments
 (0)