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

Fix notification text #4

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

carlosmintfan
Copy link

@carlosmintfan carlosmintfan commented Mar 9, 2024

We previously got html-escaped text and our added link/image HTML all in the notification, which didn't look very nice.
Will fix: #7

We previously got html-escaped text and our added link/image HTML all in the notification, which didn't look very nice.
@clefebvre
Copy link
Member

We can't allow HTML tags to get into the notification. What we can do though is remove them altogether.

i.e. we escape them for webkit, and remove them for notify.

@carlosmintfan
Copy link
Author

We can't allow HTML tags to get into the notification. What we can do though is remove them altogether.

i.e. we escape them for webkit, and remove them for notify.

Why exactly?

@carlosmintfan
Copy link
Author

We can't allow HTML tags to get into the notification. What we can do though is remove them altogether.
i.e. we escape them for webkit, and remove them for notify.

Why exactly?

@clefebvre Ah, Notify supports some HTML in the notifications but isn't happy with escaping...is there an option to forbid Notify to parse text as HTML?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Special characters do not display properly in notificationin for Mint-X
4 participants