mirror of
https://github.com/aclist/dztui.git
synced 2026-08-25 17:32:36 +02:00
fix: html escape server desc
This commit is contained in:
parent
28cd6b8c45
commit
42feeae8d0
@ -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()
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user