Philipp Hörist pushed to branch master at gajim / gajim
Commits: 9af13bd0 by lovetox at 2020-04-16T14:15:54+02:00 HtmlTextView: Add comment
- - - - -
1 changed file:
- gajim/gtk/htmltextview.py
Changes:
===================================== gajim/gtk/htmltextview.py ===================================== @@ -957,6 +957,8 @@ class HtmlTextView(Gtk.TextView): parser = xml.sax.make_parser() parser.setContentHandler(HtmlHandler(textview, conv_textview, eob)) parser.parse(StringIO(html)) + # If the xhtml ends with a BLOCK element we have to remove + # the \n we add after BLOCK elements self._delete_last_char(buffer_, eob)
@staticmethod
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/9af13bd0bddb94453de8e4030699c79fe...