mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 20:55:56 +00:00
hidden_tag: temporarily prevent htmlspecialchars() to stop embedded JSON from breaking
This commit is contained in:
@@ -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 = "") {
|
||||||
|
|||||||
Reference in New Issue
Block a user