Revert "need to strip trailing <br /> when saving fields"

This reverts commit f10b336fb9.
This commit is contained in:
Damien Elmes 2013-06-14 13:11:26 +09:00
parent 49ea66bca9
commit 24995de437

View File

@ -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 <br /> is removed
txt = re.sub("(<br />)*$", "", txt)
self.note.fields[self.currentField] = txt
if not self.addMode:
self.note.flush()