mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2025-03-24 14:57:01 +00:00
commit
e34a858ca9
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user