Revert "need to strip trailing <br /> when saving fields"
This reverts commit f10b336fb9
.
This commit is contained in:
parent
49ea66bca9
commit
24995de437
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user