MDL-73435 mod_wiki: htmlspecialchars changed default in PHP8.1
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user