mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
fix: html escape server desc
This commit is contained in:
1 parent
28cd6b8c45
commit
42feeae8d0
1 file changed
+2
-1
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user