Support resizebox content and PDF image placeholders
This commit is contained in:
1 parent
3be8cefe46
commit
9e3164adf6
4 files changed
+84
-7
No files matched your search
@@ -1740,3 +1740,15 @@ Dendrite & Input terminal & 100 & a & b \\
|
||||
let svg = page_svg(&value, 0);
|
||||
assert!(svg.contains(">Dendrite</text>"));
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn resizebox_strips_nested_math_delimiters() {
|
||||
let source = r"\documentclass{article}
|
||||
\begin{document}
|
||||
\begin{equation}
|
||||
\resizebox{1\hsize}{!}{$x_i + y_i$}
|
||||
\end{equation}
|
||||
\end{document}";
|
||||
let value = fresh_preview(source, "resizebox-math.tex");
|
||||
assert_eq!(value["status"], "ok");
|
||||
}
|
||||
Reference in new issue
Block a user