# HG changeset patch # User Goffi # Date 1408561155 -7200 # Node ID f0b56c022c013601cd55926d95c5dda2b3706390 # Parent f030491cff75115b828588b83cf480f6a89c2fce browser_side: use of new XHTML2Text method diff -r f030491cff75 -r f0b56c022c01 src/browser/libervia_main.py --- 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: