mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
<div> -> space in browser row
This commit is contained in:
parent
1a5fd5c44a
commit
67cd7c5154
1 changed files with 1 additions and 0 deletions
|
@ -261,6 +261,7 @@ class DataModel(QAbstractTableModel):
|
|||
def formatQA(self, txt):
|
||||
s = txt.replace("<br>", u" ")
|
||||
s = s.replace("<br />", u" ")
|
||||
s = s.replace("<div>", u" ")
|
||||
s = s.replace("\n", u" ")
|
||||
s = re.sub("\[sound:[^]]+\]", "", s)
|
||||
s = re.sub("\[\[type:[^]]+\]\]", "", s)
|
||||
|
|
Loading…
Reference in a new issue