mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-08-02 12:21:09 +02:00
@@ -646,16 +646,25 @@ class HTMLPurifier_Config
|
|||||||
return $this->getDefinition($name, true, true);
|
return $this->getDefinition($name, true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return HTMLPurifier_HTMLDefinition
|
||||||
|
*/
|
||||||
public function maybeGetRawHTMLDefinition()
|
public function maybeGetRawHTMLDefinition()
|
||||||
{
|
{
|
||||||
return $this->getDefinition('HTML', true, true);
|
return $this->getDefinition('HTML', true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return HTMLPurifier_CSSDefinition
|
||||||
|
*/
|
||||||
public function maybeGetRawCSSDefinition()
|
public function maybeGetRawCSSDefinition()
|
||||||
{
|
{
|
||||||
return $this->getDefinition('CSS', true, true);
|
return $this->getDefinition('CSS', true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return HTMLPurifier_URIDefinition
|
||||||
|
*/
|
||||||
public function maybeGetRawURIDefinition()
|
public function maybeGetRawURIDefinition()
|
||||||
{
|
{
|
||||||
return $this->getDefinition('URI', true, true);
|
return $this->getDefinition('URI', true, true);
|
||||||
|
Reference in New Issue
Block a user