MDL-87870 filter_tex: escape background argument content.
This commit is contained in:
committed by
Huong Nguyen
parent
2777159cbd
commit
d287297369
@@ -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 = "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user