From 24995de437577282715f9b39327c78090b5451b6 Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 14 Jun 2013 13:11:26 +0900 Subject: [PATCH] Revert "need to strip trailing
when saving fields" This reverts commit f10b336fb9db00b038dcaa5e4e2372b9959fa0de. --- aqt/editor.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/aqt/editor.py b/aqt/editor.py index 810c082f0..fc5eee4a5 100644 --- a/aqt/editor.py +++ b/aqt/editor.py @@ -529,8 +529,6 @@ class Editor(object): # reverse the url quoting we added to get images to display txt = unicode(urllib2.unquote( txt.encode("utf8")), "utf8", "replace") - # make sure a trailing
is removed - txt = re.sub("(
)*$", "", txt) self.note.fields[self.currentField] = txt if not self.addMode: self.note.flush()