mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
Allow font-family "protocol" to avoid kses cleaning it. MDL-15963 ; merged from 19_STABLE
This commit is contained in:
parent
82605beaae
commit
f697a4217d
@ -100,7 +100,7 @@ $ALLOWED_TAGS =
|
||||
* @global string $ALLOWED_PROTOCOLS
|
||||
*/
|
||||
$ALLOWED_PROTOCOLS = array('http', 'https', 'ftp', 'news', 'mailto', 'rtsp', 'teamspeak', 'gopher', 'mms',
|
||||
'color', 'callto', 'cursor', 'text-align', 'font-size', 'font-weight', 'font-style',
|
||||
'color', 'callto', 'cursor', 'text-align', 'font-size', 'font-weight', 'font-style', 'font-family',
|
||||
'border', 'margin', 'padding', 'background', 'text-decoration'); // CSS as well to get through kses
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user