From 4f4e57bb26620ba6f4adcc413ff60b86fdeb158f Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 Feb 2021 15:27:22 +0300 Subject: [PATCH] hidden_tag: temporarily prevent htmlspecialchars() to stop embedded JSON from breaking --- include/controls.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/controls.php b/include/controls.php index b351a9449..6d3cfc417 100755 --- a/include/controls.php +++ b/include/controls.php @@ -61,7 +61,7 @@ function hidden_tag(string $name, string $value) { return ""; + name=\"".htmlspecialchars($name)."\" value=\"$value\">"; } function checkbox_tag(string $name, bool $checked = false, string $value = "", string $attributes = "", string $id = "") {