修复Linuxx下的已知错误

This commit is contained in:
瓜哥 committed 2021-06-29 13:11:22 +08:00
1 parent d032473687
commit 83e0f4b1dc
1989 files changed
+97764 -101127

No files matched your search

@@ -1,21 +0,0 @@
<?php
/**
* Module adds the target-based noreferrer attribute transformation to a tags. It
* is enabled by HTML.TargetNoreferrer
*/
class HTMLPurifier_HTMLModule_TargetNoreferrer extends HTMLPurifier_HTMLModule
{
/**
* @type string
*/
public $name = 'TargetNoreferrer';
/**
* @param HTMLPurifier_Config $config
*/
public function setup($config) {
$a = $this->addBlankElement('a');
$a->attr_transform_post[] = new HTMLPurifier_AttrTransform_TargetNoreferrer();
}
}