Chokoq displays HTML tags in Gnome 3.10 notification Reproducible: Always Steps to Reproduce: 1. Receive notifications on GNOME 3.10 desktop Actual Results: 2. Notification contains HTML <br> tags Expected Results: 2. Notification should not contain any HTML tag
Notifications can contains HTML tags: https://developer.gnome.org/notification-spec/#markup Now we should understand why it's not working...
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.
A possibly relevant merge request was started @ https://invent.kde.org/network/choqok/-/merge_requests/14
(In reply to Andrea Scarpino from comment #1) > Notifications can contains HTML tags: > https://developer.gnome.org/notification-spec/#markup Notifications can contain *some* HTML tags: https://specifications.freedesktop.org/notification-spec/latest/ar01s04.html > Now we should understand why it's not working... Because `<br>` is not included in that list, that's all. ☺ (For the record, Xfce and MATE also choke on this.)
Git commit 83438f2227f3598e04fb51df8b598d21a09fe446 by Frédéric Brière. Committed on 19/06/2022 at 12:23. Pushed by alex into branch 'master'. Replace `<br>` with actual newline in notification message While the Desktop Notifications Specification¹ does allow the body text to contain markup using a few HTML-based tags, `<br>` is not included in that list. As the specification clearly states: "notifications should never take advantage of tags that are not listed above". ¹ https://specifications.freedesktop.org/notification-spec/latest/index.html M +1 -1 libchoqok/notifymanager.cpp https://invent.kde.org/network/choqok/commit/83438f2227f3598e04fb51df8b598d21a09fe446