MDL-87870 filter_tex: escape background argument content.

This commit is contained in:
Paul Holden
2026-02-05 17:24:02 +07:00
committed by Huong Nguyen
parent 2777159cbd
commit d287297369
+1 -1
View File
@@ -139,7 +139,7 @@
// Run convert on document (.ps to .png/.gif) or run dvisvgm (.ps to .svg).
if ($background) {
$bg_opt = "-transparent \"$background\""; // Makes transparent background
$bg_opt = '-transparent ' . escapeshellarg($background); // Makes transparent background
} else {
$bg_opt = "";
}