diff options
| author | Liam Mitchell <[email protected]> | 2026-01-09 03:34:44 -0800 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2026-01-09 12:34:44 +0100 |
| commit | 3d5ae4371b8834056c3207cda79acc8c00097053 (patch) | |
| tree | 9b9b34d0a0973616115ef7e38e369e6b044cc88f /src | |
| parent | read build state files into memory instead of relying on memory mapping (#702) (diff) | |
| download | zen-3d5ae4371b8834056c3207cda79acc8c00097053.tar.xz zen-3d5ae4371b8834056c3207cda79acc8c00097053.zip | |
Avoid rendering user text input as HTML (#700)
* Avoid rendering user text input as HTML
Diffstat (limited to 'src')
| -rw-r--r-- | src/zenserver/frontend/html.zip | bin | 163145 -> 163147 bytes | |||
| -rw-r--r-- | src/zenserver/frontend/html/util/component.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/src/zenserver/frontend/html.zip b/src/zenserver/frontend/html.zip Binary files differindex f9fc8a8ef..36f08a05d 100644 --- a/src/zenserver/frontend/html.zip +++ b/src/zenserver/frontend/html.zip diff --git a/src/zenserver/frontend/html/util/component.js b/src/zenserver/frontend/html/util/component.js index 205aa038e..3c4780d77 100644 --- a/src/zenserver/frontend/html/util/component.js +++ b/src/zenserver/frontend/html/util/component.js @@ -72,7 +72,7 @@ class ComponentDom extends ComponentBase text(value) { value = (value == undefined) ? "undefined" : value.toString(); - this._element.innerHTML = (value != "") ? value : ""; + this._element.textContent = (value != "") ? value : ""; return this; } |