mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-02-01 03:03:00 +08:00
Don't use quote_js on filename
This commit is contained in:
parent
6e420c7be2
commit
b5c33341a1
@ -239,7 +239,7 @@ class ExtraNetworksPage:
|
|||||||
)
|
)
|
||||||
onclick = html.escape(onclick)
|
onclick = html.escape(onclick)
|
||||||
|
|
||||||
btn_copy_path = self.btn_copy_path_tpl.format(**{"filename": quote_js(item["filename"])})
|
btn_copy_path = self.btn_copy_path_tpl.format(**{"filename": item["filename"]})
|
||||||
btn_metadata = ""
|
btn_metadata = ""
|
||||||
metadata = item.get("metadata")
|
metadata = item.get("metadata")
|
||||||
if metadata:
|
if metadata:
|
||||||
|
Loading…
Reference in New Issue
Block a user