mirror of
https://github.com/ankitects/anki.git
synced 2025-11-08 13:47:13 -05:00
unescape &
This commit is contained in:
parent
74137721bf
commit
bfc852a892
1 changed files with 1 additions and 0 deletions
|
|
@ -83,6 +83,7 @@ class DeckModel(QAbstractTableModel):
|
||||||
s = s.replace("\n", u" ")
|
s = s.replace("\n", u" ")
|
||||||
s = stripHTML(s)
|
s = stripHTML(s)
|
||||||
s = re.sub("\[sound:[^]]+\]", "", s)
|
s = re.sub("\[sound:[^]]+\]", "", s)
|
||||||
|
s = s.replace("&", "&")
|
||||||
s = s.strip()
|
s = s.strip()
|
||||||
return QVariant(s)
|
return QVariant(s)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue