Skip to content

Commit c529ce5

Browse files
committed
regression test
1 parent eb48158 commit c529ce5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "Table test"
3+
format: latex
4+
_quarto:
5+
tests:
6+
latex:
7+
ensureFileRegexMatches:
8+
- ["\\\\begin{table}\\[ht\\]"]
9+
- []
10+
---
11+
12+
```{=latex}
13+
\begin{table}[ht]
14+
\begin{tabular}{ll}
15+
foo & bar
16+
\end{tabular}
17+
\caption{label has dash: problem}
18+
\label{has-dash}
19+
\end{table}
20+
```
21+
22+
See \ref{has-dash}.

0 commit comments

Comments
 (0)