diff --git a/test/sample-eqrefs.html b/test/sample-eqrefs.html
index c10fb5b28..080cf97fe 100644
--- a/test/sample-eqrefs.html
+++ b/test/sample-eqrefs.html
@@ -55,7 +55,7 @@ following equation:
$$x+1\over\sqrt{1-x^2}\label{ref2}$$
More math:
$$x+1\over\sqrt{1-x^2}$$
-Here is a ref inside math: $\ref{ref2}+1$ and text after it.
+Here is a ref inside math: \(\ref{ref2}+1\) and text after it.
\begin{align}
x& = y_1-y_2+y_3-y_5+y_8-\dots