mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 14:03:55 -05:00
move escaping past hook
This commit is contained in:
parent
6040ffd047
commit
8f38c0cd41
1 changed files with 2 additions and 1 deletions
|
|
@ -192,12 +192,13 @@ class Overview:
|
||||||
self._show_finished_screen()
|
self._show_finished_screen()
|
||||||
return
|
return
|
||||||
content = OverviewContent(
|
content = OverviewContent(
|
||||||
deck=html.escape(deck["name"]),
|
deck=deck["name"],
|
||||||
shareLink=shareLink,
|
shareLink=shareLink,
|
||||||
desc=self._desc(deck),
|
desc=self._desc(deck),
|
||||||
table=self._table(),
|
table=self._table(),
|
||||||
)
|
)
|
||||||
gui_hooks.overview_will_render_content(self, content)
|
gui_hooks.overview_will_render_content(self, content)
|
||||||
|
content.deck = html.escape(content.deck)
|
||||||
self.web.stdHtml(
|
self.web.stdHtml(
|
||||||
self._body % content.__dict__,
|
self._body % content.__dict__,
|
||||||
css=["css/overview.css"],
|
css=["css/overview.css"],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue