Referencing equation in align environment with different `&` placement results in bug.
bug
An equation in an align environment with `&=` works when previewing reference. However, if there are weird placements for `&`, we get an error. For example, in this snippet:
```markdown
$$
\begin{align}
\text{Quadratic Formula}:& x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a} \label{eq:quadratic-formula}
\end{align}
$$
```
This reference:
```markdown
We finally use quadratic formula $\eqref{eq:quadratic-formula}$ with the form $ay^2 + by + c = 0$ to solve for $y$:
```
results in the following error:
<img width="669" alt="image" src="https://github.com/user-attachments/assets/da01a505-80bc-4093-93a6-0751ec447c30">
关闭于 2024-10-24 0 条评论