MDL-69951 filter_tidy: Replace drop-font-tags

The option drop-font-tags was removed in HTML Tidy version 5.5.14.  It
had been deprecated since 5.1.25, the docs said "Use the clean option
instead" which is what this commit does (see
https://api.html-tidy.org/tidy/quickref_5.1.25.html#drop-font-tags).
This commit is contained in:
Leon Stringer
2022-05-12 11:44:29 +01:00
parent ac9e395ed6
commit 02bc67f6c5
+1 -1
View File
@@ -47,7 +47,7 @@ class filter_tidy extends moodle_text_filter {
'show-body-only' => true,
'tidy-mark' => false,
'drop-proprietary-attributes' => true,
'drop-font-tags' => true,
'clean' => true,
'drop-empty-paras' => true,
'indent' => true,
'quiet' => true,