diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-07-14 12:27:39 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-07-14 12:27:39 -0300 |
commit | 4516c98c09ff775892707c3f2b61c857dd82707d (patch) | |
tree | 1ffb3b50cf1c9adc7409b4c01f682536e2730a48 /src/misc-templates.js | |
parent | 7830c73e6047ab8ec1322c4a56ed6a450bfb11e6 (diff) |
handle special characters in URLs more carefully
Diffstat (limited to 'src/misc-templates.js')
-rw-r--r-- | src/misc-templates.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc-templates.js b/src/misc-templates.js index 8f3f0166..a34771c7 100644 --- a/src/misc-templates.js +++ b/src/misc-templates.js @@ -552,7 +552,7 @@ function unbound_iconifyURL(url, { html.tag('svg', [ html.tag('title', msg), html.tag('use', { - href: to('shared.staticFile', `icons.svg#icon-${id}`), + href: to('shared.staticIcon', id), }), ])); } |