-
Notifications
You must be signed in to change notification settings - Fork 39
panel: sanitize variables added to markup #268
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
base: master
Are you sure you want to change the base?
Conversation
|
Fixes #266 |
|
Hi! Thanks for your PR. |
|
Interesting, that is an issue. This came to light because an app (Spotify i believe) was using a loose ampersand which was causing a warning and incorrect label. |
|
What if we apply |
|
Looking back at the initial bug, yes that would cover it. Might still be scope for the bug to creep back in as the documentation you linked doesn't mention escaping & at all. |
I think that's a good solution then because it's simple and the specification doesn't mean markup for title. Escaping |
|
@trigg @NamorNiradnug what should be done with this PR? I have no idea about the notification widget at this point, so I trust you can figure it out between yourselves ;) |
Current solution degrades the support of markup. Hence I think we shouldn't merge it yet. |
I've intentionally side-stepped touching
command-outputas it is fully possible that some users are intentionally writing markup out from a command to the panel.