move escaping past hook

This commit is contained in:
llama 2025-06-16 18:20:43 +08:00
parent 6040ffd047
commit 8f38c0cd41
No known key found for this signature in database
GPG key ID: 0B7543854B9413C3

View file

@ -192,12 +192,13 @@ class Overview:
self._show_finished_screen()
return
content = OverviewContent(
deck=html.escape(deck["name"]),
deck=deck["name"],
shareLink=shareLink,
desc=self._desc(deck),
table=self._table(),
)
gui_hooks.overview_will_render_content(self, content)
content.deck = html.escape(content.deck)
self.web.stdHtml(
self._body % content.__dict__,
css=["css/overview.css"],