changeset 505:f0b56c022c01

browser_side: use of new XHTML2Text method
author Goffi <goffi@goffi.org>
date Wed, 20 Aug 2014 20:59:15 +0200
parents f030491cff75
children 7d37bb042042
files src/browser/libervia_main.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/browser/libervia_main.py	Wed Aug 20 20:59:13 2014 +0200
+++ b/src/browser/libervia_main.py	Wed Aug 20 20:59:15 2014 +0200
@@ -693,7 +693,7 @@
                 title = extra['subject']
             except (KeyError, AssertionError):
                 title = _('Announcement from %s') % from_jid
-            msg = strings.addURLToText(html_tools.convertNewLinesToXHTML(html_tools.html_sanitize(msg)))
+            msg = strings.addURLToText(html_tools.XHTML2Text(msg))
             dialog.InfoDialog(title, msg).show()
             return
         if lib_wid is not None: