From 11d0b2d274122aa7c664b70674b71bf7021759f6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 6 Feb 2009 18:44:00 +0900 Subject: [PATCH] don't strip html on read/write --- ankiqt/ui/facteditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ankiqt/ui/facteditor.py b/ankiqt/ui/facteditor.py index f8e158c10..848e38e8c 100644 --- a/ankiqt/ui/facteditor.py +++ b/ankiqt/ui/facteditor.py @@ -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