Skip to content

Commit

Permalink
MDL-69951 filter_tidy: Replace drop-font-tags
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
leonstr committed May 12, 2022
1 parent 4d48741 commit 972744e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter/tidy/filter.php
Expand Up @@ -47,7 +47,7 @@ function filter($text, array $options = array()) {
'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,
Expand Down

0 comments on commit 972744e

Please sign in to comment.