panel: sanitize variables added to markup#268
panel: sanitize variables added to markup#268trigg wants to merge 3 commits intoWayfireWM:masterfrom
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.