diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2025-08-13 15:38:20 +0200 |
|---|---|---|
| committer | Aleksandr Nogikh <nogikh@google.com> | 2025-08-14 11:29:36 +0000 |
| commit | 028e3578dbbde98fdb5a4d170f0e1dce7a8a2ab4 (patch) | |
| tree | 205722be34975e740bdf0ab724105b6e709efb7f /syz-cluster | |
| parent | 22ec1469fe8c0ba256de07e8f97fa7b375b522bd (diff) | |
syz-cluster/dashboard: html escape modal content
Otherwise we sometimes display broken data.
Diffstat (limited to 'syz-cluster')
| -rw-r--r-- | syz-cluster/dashboard/templates/series.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-cluster/dashboard/templates/series.html b/syz-cluster/dashboard/templates/series.html index 31eaebc8f..c53015be4 100644 --- a/syz-cluster/dashboard/templates/series.html +++ b/syz-cluster/dashboard/templates/series.html @@ -27,7 +27,7 @@ body.html("") body.load(url, function(response, status, xhr){ if (status == "success") { - body.html("<pre>" + response + "</pre>") + body.html($('<pre></pre>').text(response)) } $('#contentModal').modal('show'); }); |
