hidden_tag: temporarily prevent htmlspecialchars() to stop embedded JSON from breaking
This commit is contained in:
parent
1f5d81b77c
commit
4f4e57bb26
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
function hidden_tag(string $name, string $value) {
|
function hidden_tag(string $name, string $value) {
|
||||||
return "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\"
|
return "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\"
|
||||||
name=\"".htmlspecialchars($name)."\" value=\"".htmlspecialchars($value)."\">";
|
name=\"".htmlspecialchars($name)."\" value=\"$value\">";
|
||||||
}
|
}
|
||||||
|
|
||||||
function checkbox_tag(string $name, bool $checked = false, string $value = "", string $attributes = "", string $id = "") {
|
function checkbox_tag(string $name, bool $checked = false, string $value = "", string $attributes = "", string $id = "") {
|
||||||
|
|
Loading…
Reference in New Issue