MDL-73435 mod_wiki: htmlspecialchars changed default in PHP8.1

This commit is contained in:
Marina Glancy
2022-04-29 16:22:43 +02:00
parent 1a744030d6
commit ac7c952b84
+1 -1
View File
@@ -87,7 +87,7 @@ class creole_parser extends wiki_markup_parser {
*/
protected function before_parsing() {
$this->string = htmlspecialchars($this->string);
$this->string = htmlspecialchars($this->string, ENT_COMPAT);
parent::before_parsing();
}