Mercurial > libervia-web
diff src/browser/libervia_main.py @ 505:f0b56c022c01
browser_side: use of new XHTML2Text method
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 20 Aug 2014 20:59:15 +0200 |
parents | 88ece2a00c63 |
children | d58d4dd0cefe |
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: