nicolasfella added a comment.
We have the same problem on Linux (if the server doesn't support rich text) and probably Android too. In notifybypopup we do this with QXmlStreamReader + some API from KCodecs, but your solution is much simpler and nicer. Ideally this should be done in KNotification instead of the backends. Therefore we'd need some API in KNotificationPlugin/KNotification to indicate whether rich text is supported. The KNotificationManager code is quite convoluted currently, but it should be doable. This would help our quest of making KNotifications Tier 1 ;-) REPOSITORY R289 KNotifications REVISION DETAIL https://phabricator.kde.org/D26756 To: vonreth, broulik, brute4s99 Cc: nicolasfella, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns