mirror of
https://github.com/processwire/processwire.git
synced 2025-08-15 11:14:12 +02:00
Fix issue processwire/processwire-issues#1755
This commit is contained in:
@@ -78,7 +78,7 @@ class MarkupHTMLPurifier extends WireData implements Module {
|
|||||||
*/
|
*/
|
||||||
public function init() {
|
public function init() {
|
||||||
$this->settings->set('Cache.SerializerPath', $this->getCachePath());
|
$this->settings->set('Cache.SerializerPath', $this->getCachePath());
|
||||||
$this->settings->set('Attr.AllowedRel', array('nofollow'));
|
$this->settings->set('Attr.AllowedRel', array('nofollow', 'noopener', 'noreferrer'));
|
||||||
$this->settings->set('HTML.DefinitionID', 'html5-definitions');
|
$this->settings->set('HTML.DefinitionID', 'html5-definitions');
|
||||||
$this->settings->set('HTML.DefinitionRev', 1);
|
$this->settings->set('HTML.DefinitionRev', 1);
|
||||||
$this->def = $this->settings->maybeGetRawHTMLDefinition();
|
$this->def = $this->settings->maybeGetRawHTMLDefinition();
|
||||||
|
Reference in New Issue
Block a user