https://bugs.kde.org/show_bug.cgi?id=502106
Akseli Lahtinen <akse...@akselmo.dev> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/-/commi |ma/plasma-workspace/-/commi |t/b88fe8896241a12a2b95584be |t/38f3a27c58a1c0a943ad07e94 |82d1c581e786b8b |1fbe2ece70bdf5a --- Comment #7 from Akseli Lahtinen <akse...@akselmo.dev> --- Git commit 38f3a27c58a1c0a943ad07e941fbe2ece70bdf5a by Akseli Lahtinen. Committed on 29/04/2025 at 12:23. Pushed by ngraham into branch 'Plasma/6.3'. Notification: Escape lonely < and > symbols Since we're sending the text inside html tags, use a regexp to find out any potential lonely < and > symbols. Then, escape those. Also adds autotests for this case. (cherry picked from commit b88fe8896241a12a2b95584be82d1c581e786b8b) 95339799 Notification: Escape lonely < and > symbols bb6f06ad Turn allowedTags into reusable stringList 19ad556b Simplify the allowedTags list 2ae351e5 Simplify regex, update tests Co-authored-by: Akseli Lahtinen <akse...@akselmo.dev> M +5 -2 libnotificationmanager/autotests/notifications_test.cpp M +9 -0 libnotificationmanager/notification.cpp https://invent.kde.org/plasma/plasma-workspace/-/commit/38f3a27c58a1c0a943ad07e941fbe2ece70bdf5a -- You are receiving this mail because: You are watching all bug changes.