diff --git a/main/inc/lib/formvalidator/Rule/allowed_tags.inc.php b/main/inc/lib/formvalidator/Rule/allowed_tags.inc.php index 2ce103eff0..7a7bc196be 100644 --- a/main/inc/lib/formvalidator/Rule/allowed_tags.inc.php +++ b/main/inc/lib/formvalidator/Rule/allowed_tags.inc.php @@ -120,7 +120,7 @@ $allowed_tags_student['div'] = array(); $allowed_tags_student['div']['align'] = array(); $allowed_tags_student['div']['class'] = array(); $allowed_tags_student['div']['id'] = array(); -$allowed_tags_student['div']['style'] = array(); +#$allowed_tags_student['div']['style'] = array(); //filtered out for security (see kses security report) // DL $allowed_tags_student['dl'] = array(); // DT @@ -142,7 +142,7 @@ $allowed_tags_student['font'] = array(); $allowed_tags_student['font']['color'] = array(); $allowed_tags_student['font']['face'] = array(); $allowed_tags_student['font']['size'] = array(); -$allowed_tags_student['font']['style'] = array(); +//$allowed_tags_student['font']['style'] = array(); //filtered out for security (see kses security report) // FORM $allowed_tags_student['form'] = array(); $allowed_tags_student['form']['action'] = array(); @@ -341,19 +341,19 @@ $allowed_tags_student['q']['cite'] = array(); $allowed_tags_student['s'] = array(); // SPAN $allowed_tags_student['span'] = array(); -$allowed_tags_student['span']['style'] = array(); +#$allowed_tags_student['span']['style'] = array(); //filtered out for security (see kses security report) // STRIKE $allowed_tags_student['strike'] = array(); // STRONG $allowed_tags_student['strong'] = array(); -// STYLE -$allowed_tags_student['style'] = array(); -$allowed_tags_student['style']['type'] = array(); -$allowed_tags_student['style']['media'] = array(); +// STYLE //filtered out for security (see kses security report) +#$allowed_tags_student['style'] = array(); +#$allowed_tags_student['style']['type'] = array(); +#$allowed_tags_student['style']['media'] = array(); -$allowed_tags_student_full_page['style'] = array(); -$allowed_tags_student_full_page['style']['type'] = array(); -$allowed_tags_student_full_page['style']['media'] = array(); +#$allowed_tags_student_full_page['style'] = array(); +#$allowed_tags_student_full_page['style']['type'] = array(); +#$allowed_tags_student_full_page['style']['media'] = array(); // SUB $allowed_tags_student['sub'] = array(); // SUP