fix: html escape server desc

This commit is contained in:
aclist committed 2026-08-09 21:07:37 +09:00
1 parent 28cd6b8c45
commit 42feeae8d0
1 file changed
+2 -1
+2 -1
View File
@@ -1,3 +1,4 @@
import html
from typing import Self, TYPE_CHECKING
from dzgui.const.constants import EXPAND, FILL
@@ -109,7 +110,7 @@ class ServerDetailsDialog(ServerDialog):
self.view.set_model(self.store)
text = details.description
text = format_hyperlinks(text)
self.description.set_markup(text)
self.description.set_markup(html.escape(text))
self.show_all()