mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
html-escape removed deck name for tooltip
This commit is contained in:
parent
6ff023f6a1
commit
db79e71e27
1 changed files with 2 additions and 1 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
from __future__ import annotations
|
||||
|
||||
import html
|
||||
from collections.abc import Sequence
|
||||
|
||||
from anki.collection import OpChanges, OpChangesWithCount, OpChangesWithId
|
||||
|
|
@ -22,7 +23,7 @@ def remove_decks(
|
|||
lambda out: tooltip(
|
||||
tr.browsing_cards_deleted_with_deckname(
|
||||
count=out.count,
|
||||
deck_name=deck_name,
|
||||
deck_name=html.escape(deck_name),
|
||||
),
|
||||
parent=parent,
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue