forked from extern/egroupware
filter script keyword from face specifications, as our _check_script_tag will not allow that anyway
This commit is contained in:
parent
211056ba2e
commit
412414c1a5
@ -160,6 +160,10 @@ function hl_my_tag_transform($element, $attribute_array=0)
|
|||||||
{
|
{
|
||||||
if (strpos($attribute_array['title'],'@')!==false) $attribute_array['title']=str_replace('@','(at)',$attribute_array['title']);
|
if (strpos($attribute_array['title'],'@')!==false) $attribute_array['title']=str_replace('@','(at)',$attribute_array['title']);
|
||||||
}
|
}
|
||||||
|
if (isset($attribute_array['face']))
|
||||||
|
{
|
||||||
|
if (stripos($attribute_array['face'],'script')!==false) $attribute_array['face']=str_ireplace('script','',$attribute_array['face']);
|
||||||
|
}
|
||||||
if ($element == 'blockquote')
|
if ($element == 'blockquote')
|
||||||
{
|
{
|
||||||
if (isset($attribute_array['cite']))
|
if (isset($attribute_array['cite']))
|
||||||
|
Loading…
Reference in New Issue
Block a user