mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2026-05-04 23:26:09 +02:00
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) {
|
||||
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 = "") {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user