## Description
Inline LaTeX equation preview renders equations twice, partly on top of
each other, if you use nested math environments. Minimal reproducer:
```latex
\documentclass{article}
\begin{document}
\begin{equation}
\begin{aligned}
x_+ &= \frac{-b + \sqrt{b^2 - 4ac}}{2a} \, , \\
x_- &= \frac{-b - \sqrt{b^2 - 4ac}}{2a} \, .
\end{aligned}
\end{equation}
\end{document}
```
While, adding a test case for this to `test.tex` I also corrected a
package name such that it compiles without error.
## Screenshots
**Before**
<img width="248" height="203" alt="Screenshot 2025-10-24 at 16 22 05"
src="https://github.com/user-attachments/assets/ab55ef8c-1f04-49e5-b731-95b638ac9db7"
/>
**After**
<img width="248" height="203" alt="Screenshot 2025-10-24 at 16 23 33"
src="https://github.com/user-attachments/assets/4d3d53f6-7122-452f-b891-5a712f79fe40"
/>
## Description
<!-- Describe the big picture of your changes to communicate to the
maintainers
why we should accept this pull request. -->
This fixes the `image.src` capture for markdown shortcut links, which
(imho) are links like `![[attachments/test.jpg]]`.
The current query captures also the `[...]`.
If we talk about a different type of links for this query, it would be
interesting to know which ones :).
## Related Issue(s)
<!--
If this PR fixes any issues, please link to the issue here.
- Fixes #<issue_number>
-->
## Screenshots
<!-- Add screenshots of the changes if applicable. -->
## Description
Added queries for Svelte as well, based on Vue.
Note that I am not sure if the current HTML queries, which both Vue and
this Svelt query inherits from, is working as intended.
I do not get any sort of inline images. But I guess that will have to be
debugged and fixed in another issue and the fix should not affect this
patch (hopefully).
## Related Issue(s)
Fixes#1275
---------
Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>