修复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,25 +0,0 @@
<?php
/**
* Module adds the nofollow attribute transformation to a tags. It
* is enabled by HTML.Nofollow
*/
class HTMLPurifier_HTMLModule_Nofollow extends HTMLPurifier_HTMLModule
{
/**
* @type string
*/
public $name = 'Nofollow';
/**
* @param HTMLPurifier_Config $config
*/
public function setup($config)
{
$a = $this->addBlankElement('a');
$a->attr_transform_post[] = new HTMLPurifier_AttrTransform_Nofollow();
}
}
// vim: et sw=4 sts=4