calendar-links
calendar-links copied to clipboard
ics download description field includes html entities
Context
-
PHP Version: <!-- php -v --!> 8.2.11
-
Package version: 1.8.5
Describe the Bug
Google calendar expects details (description) field to be html, while ics download tries to convert the same to plain text using strip_tags() php function. It leaves html entities like
showing in the plain text. It should use html_entity_decode()
in addition to strip_tags().
Expected Behavior
Do not see
in ics description output.
DESCRIPTION: with plain text
X-ALT-DESC;FMTTYPE=text/HTML: with html