Bug 325003

Summary: Notifications escape htmlentities
Product: [Unmaintained] telepathy Reporter: Kai Uwe Broulik <kde>
Component: generalAssignee: Telepathy Bugs <kde-telepathy-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: kde
Priority: NOR    
Version First Reported In: 0.6.2   
Target Milestone: Future   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Kai Uwe Broulik 2013-09-17 14:58:33 UTC
I just got a copy paste from an email via KTP which resulted in a notification "blabla&nbsp;&nbsp;&nbsp;"
Text ui properly rendered this but the notification showed useless htmlentities.
They should be stripped and/or parsed properly.
(Not sure if this is a ktp issue of plasma notifications widget)

Reproducible: Always
Comment 1 David Edmundson 2013-09-17 15:59:33 UTC
http://api.kde.org/4.x-api/kdelibs-apidocs/kdeui/html/classKNotification.html#afd2874b264291273e990aef8dfe38009

says explicitly to escape HTML tags (i.e < to &lt;) 
and that we can use QLabel HTML tags. Notification XDG spec also confirms this.

Plasma notifications are broke. I fixed it once, maybe someone else has broken it again. Can I get a screenshot
Comment 2 David Edmundson 2013-10-07 17:28:39 UTC
I saw a recent commit on kde-workspace with regards to this.

Can you reopen if you still have this, and be sure to include an example.
Comment 3 David Edmundson 2013-10-07 17:28:45 UTC
I saw a recent commit on kde-workspace with regards to this.

Can you reopen if you still have this, and be sure to include an example.