Always strip html if server does not support it
ClosedPublic

Authored by nicolasfella on Jan 19 2020, 4:26 PM.

Details

Summary

The spec does not say that text containing markup has to be enclosed in <html> tags

Test Plan

Text with bold markup is shown bold on plasma. Plain text is shown when no markup is supported

Diff Detail

Repository
R289 KNotifications
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
nicolasfella created this revision.Jan 19 2020, 4:26 PM
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 19 2020, 4:26 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
nicolasfella requested review of this revision.Jan 19 2020, 4:26 PM
broulik accepted this revision.Feb 17 2020, 11:17 AM

Also, title must never be HTML, there's a reason the capability is called body-markup :)

This revision is now accepted and ready to land.Feb 17 2020, 11:17 AM
mart accepted this revision.Feb 17 2020, 11:19 AM

+1 yes please

This revision was automatically updated to reflect the committed changes.