Bug 358051

Summary: HTML source of XMPP stanzas with HTML bodies is visible in OTR messages
Product: [Unmaintained] telepathy Reporter: Unknown <null>
Component: text-uiAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal    
Priority: NOR    
Version: 15.08.2   
Target Milestone: Future   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Unknown 2016-01-16 02:59:25 UTC
Whenever a message is received that was sent from an XMPP client that supports HTML in message stanzas, it escapes the HTML and puts this into the conversation window.

What should really be done here is either parse the HTML and display it accordingly, or grab the alternative stanza body that doesn't contain any HTML tags.

Reproducible: Always

Steps to Reproduce:
1. Send a URL to an image or a formatted message from Pidgin to KTp
2. View the message that is received in KTp

Actual Results:  
The conversation contains an escaped form of the raw HTML in the stanza's body that was generated by Pidgin

Expected Results:  
Either, the HTML is parsed and displayed accordingly, or the non-HTML body is displayed (Pidgin actually sends two bodies; one for HTML-aware clients, and one with all HTML tags stripped).
Comment 1 Unknown 2016-01-16 03:14:23 UTC
Note that I just realized that this issue only occurs within OTR sessions.
Comment 2 Justin Zobel 2021-03-09 07:26:23 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 3 Christoph Cullmann 2024-09-18 18:13:03 UTC
Dear user, unfortunately Telepathy is no longer maintained.

Please migrate to another solution, e.g. for Jabber a possibility is Kaidan, for Matrix a candidate is NeoChat.