添加vendor扩展包

This commit is contained in:
Dev
2026-09-22 16:43:47 +08:00
parent 229c361e9a
commit cfa9c4e208
2373 changed files with 443948 additions and 4 deletions
@@ -0,0 +1,21 @@
<?php
/**
* Validates arbitrary text according to the HTML spec.
*/
class HTMLPurifier_AttrDef_Text extends HTMLPurifier_AttrDef
{
/**
* @param string $string
* @param HTMLPurifier_Config $config
* @param HTMLPurifier_Context $context
* @return bool|string
*/
public function validate($string, $config, $context)
{
return $this->parseCDATA($string);
}
}
// vim: et sw=4 sts=4