mirror of
https://github.com/ankitects/anki.git
synced 2025-12-11 05:46:55 -05:00
don't strip html on read/write
This commit is contained in:
parent
0224f07794
commit
11d0b2d274
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ class FactEditor(object):
|
|||
n = _("Edit")
|
||||
self.deck.setUndoStart(n, merge=True)
|
||||
for (w, f) in self.widgets.items():
|
||||
v = tidyHTML(unicode(w.toHtml())).strip()
|
||||
v = tidyHTML(unicode(w.toHtml()))
|
||||
if self.fact[f.name] != v:
|
||||
self.fact[f.name] = v
|
||||
modified = True
|
||||
|
|
|
|||
Loading…
Reference in a new issue