fix(dav): handle HTML in CalDAV invitations#56925
Conversation
|
/backport to stable32 |
|
/backport to stable31 |
|
/backport to stable30 |
|
/backport to stable29 |
|
/backport to stable28 |
tcitworld
left a comment
There was a problem hiding this comment.
No problem with that, but shouldn't it be handled directly by addBodyListItem instead?
No because sometimes we want the HTML to render, e.g. for the strike-through formatting of event updates. |
apps/dav/lib/CalDAV/Reminder/NotificationProvider/EmailProvider.php
Outdated
Show resolved
Hide resolved
d24a1d9 to
66bbd40
Compare
|
|
I assume Psalm was unable to detect the return type for Sabre\VObject\Property::getValue. Now with the value being wrapped in htmlspecialchars it's always a string. Yet I'm not sure if we can trust sabre's return type annotations 🙈 |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
766027b to
dac8818
Compare
Summary
This avoids rendering issues with certain characters.
TODO
Checklist
3. to review, feature component)stable32)