Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notification displays html code #263

Open
solsticedhiver opened this issue Sep 6, 2020 · 5 comments
Open

notification displays html code #263

solsticedhiver opened this issue Sep 6, 2020 · 5 comments
Milestone

Comments

@solsticedhiver
Copy link

Using gnome 3.36.5 /gnome-shell on archlinux, when I receive a notification, it is displayed with html code/tag like

<span foreground='#xxxxxx"><b>mypseudo</b></span>

I except to see readable text without html tag.

I guess my notification daemon does not support html, or it needs to be told there is some html ?

@SilverRainZ
Copy link
Member

What is your notification daemon?

@solsticedhiver
Copy link
Author

I have no idea. The default one built-in gnome shell 3.36 ?

@kennylevinsen
Copy link

I don't think span is a supported tag in the notification spec.

https://developer.gnome.org/notification-spec/

A full-blown HTML implementation is not required of this spec, and notifications should never take advantage of tags that are not listed above.

This list only includes <b>, <i>, <u>, <a> and <img>.

(Even then, these tags are technically only supported if the body-markup is capability is reported by org.freedesktop.Notifications.GetCapabilities, but I assume that is set for most daemons.)

@oz-orz
Copy link

oz-orz commented Jan 31, 2021

I also experience this on an up-to-date Arch Linux install in GNOME.

@SilverRainZ SilverRainZ added this to the 1.4 milestone Dec 20, 2021
@SilverRainZ SilverRainZ added bug and removed question labels May 2, 2022
@SilverRainZ SilverRainZ removed this from the 1.4 milestone Aug 1, 2022
@arthur-dog
Copy link

Hi! I just wanted to chime in and say I experience the same issue using GNOME 42.2 on Guix System, Srain version 1.5.0.

@SilverRainZ SilverRainZ added this to the 1.6 milestone Dec 3, 2023
@SilverRainZ SilverRainZ modified the milestones: 1.6, 1.7 Feb 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants