diff --git a/htdocs/includes/odtphp/odf.php b/htdocs/includes/odtphp/odf.php index 9612a4c41a5..a5fb62e7218 100644 --- a/htdocs/includes/odtphp/odf.php +++ b/htdocs/includes/odtphp/odf.php @@ -167,6 +167,7 @@ class Odf // Check if the value includes html tags if ($this->_hasHtmlTag($value) === true) { + // Note: allowing many tags is supported on PHP >7.4 . For older versions, this will strip all HTML tags. $value = strip_tags($value, ['
', '', '', '', '', '', '', '', '', '']); // Default styles for strong/b, i/em, u, s, sub & sup