Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
8a5c60d0
Commit
8a5c60d0
authored
Mar 12, 2007
by
Dries
Browse files
- Patch
#84797
by RobRoy: add support for font-tag.
parent
80646ca6
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/filter/filter.module
View file @
8a5c60d0
...
...
@@ -1216,7 +1216,7 @@ function _filter_autop($text) {
* for scripts and styles.
*/
function
filter_xss_admin
(
$string
)
{
return
filter_xss
(
$string
,
array
(
'a'
,
'abbr'
,
'acronym'
,
'address'
,
'b'
,
'bdo'
,
'big'
,
'blockquote'
,
'br'
,
'caption'
,
'cite'
,
'code'
,
'col'
,
'colgroup'
,
'dd'
,
'del'
,
'dfn'
,
'div'
,
'dl'
,
'dt'
,
'em'
,
'h1'
,
'h2'
,
'h3'
,
'h4'
,
'h5'
,
'h6'
,
'hr'
,
'i'
,
'img'
,
'ins'
,
'kbd'
,
'li'
,
'object'
,
'ol'
,
'p'
,
'param'
,
'pre'
,
'q'
,
'samp'
,
'small'
,
'span'
,
'strong'
,
'sub'
,
'sup'
,
'table'
,
'tbody'
,
'td'
,
'tfoot'
,
'th'
,
'thead'
,
'tr'
,
'tt'
,
'ul'
,
'var'
));
return
filter_xss
(
$string
,
array
(
'a'
,
'abbr'
,
'acronym'
,
'address'
,
'b'
,
'bdo'
,
'big'
,
'blockquote'
,
'br'
,
'caption'
,
'cite'
,
'code'
,
'col'
,
'colgroup'
,
'dd'
,
'del'
,
'dfn'
,
'div'
,
'dl'
,
'dt'
,
'em'
,
'font'
,
'h1'
,
'h2'
,
'h3'
,
'h4'
,
'h5'
,
'h6'
,
'hr'
,
'i'
,
'img'
,
'ins'
,
'kbd'
,
'li'
,
'object'
,
'ol'
,
'p'
,
'param'
,
'pre'
,
'q'
,
'samp'
,
'small'
,
'span'
,
'strong'
,
'sub'
,
'sup'
,
'table'
,
'tbody'
,
'td'
,
'tfoot'
,
'th'
,
'thead'
,
'tr'
,
'tt'
,
'ul'
,
'var'
));
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment