aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui_extra_networks.py
diff options
context:
space:
mode:
authorLittleor <me@littleor.cn>2023-07-26 09:23:57 +0000
committerLittleor <me@littleor.cn>2023-07-26 09:23:57 +0000
commit187323a606bc0e4913240e5f20c51c9789234654 (patch)
tree4914d9a570c2e975f92ed3d7a64b4a32fc3287a3 /modules/ui_extra_networks.py
parentb73c405013f63afa82d6358f9ce544931e5e9bc6 (diff)
downloadstable-diffusion-webui-gfx803-187323a606bc0e4913240e5f20c51c9789234654.tar.gz
stable-diffusion-webui-gfx803-187323a606bc0e4913240e5f20c51c9789234654.tar.bz2
stable-diffusion-webui-gfx803-187323a606bc0e4913240e5f20c51c9789234654.zip
fix: extra network ui description allow HTML tags
Diffstat (limited to 'modules/ui_extra_networks.py')
-rw-r--r--modules/ui_extra_networks.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui_extra_networks.py b/modules/ui_extra_networks.py
index 48537bc1..f2752f10 100644
--- a/modules/ui_extra_networks.py
+++ b/modules/ui_extra_networks.py
@@ -254,7 +254,7 @@ class ExtraNetworksPage:
"tabname": quote_js(tabname),
"local_preview": quote_js(item["local_preview"]),
"name": html.escape(item["name"]),
- "description": html.escape(item.get("description") or "" if shared.opts.extra_networks_card_show_desc else ""),
+ "description": (item.get("description") or "" if shared.opts.extra_networks_card_show_desc else ""),
"card_clicked": onclick,
"save_card_preview": '"' + html.escape(f"""return saveCardPreview(event, {quote_js(tabname)}, {quote_js(item["local_preview"])})""") + '"',
"search_term": item.get("search_term", ""),