-
Task
-
Resolution: Fixed
-
Minor
-
4.0.1
-
MOODLE_400_STABLE
-
MOODLE_401_STABLE
-
MDL-74823_upgrade-html-purifier-to-4-14-0 -
HTML Purifier (/lib/htmlpurifier/) 4.13.0 --> 4.16.0 : http://htmlpurifier.org/
This also normalizes the line endings for HTMLPurifier in a separate commit.
Prior to this change, all the line endings in the imported HTMLPurifier library were using CRLF (\r\n aka Windows style), but the HTMLPurifier source and also the downloadable artefacts use LF (\n aka Linux style) as line endings. This has been the case since 510d190382003985eafd6f4407190d43509016a5 when with the commit "MDL-38672 import HTML Purifier 4.5.0" all line endings were changed from LF to CRLF. There was no comment in the commit on why this change was done.
As the original source uses LF, this commit partly reverts 510d190382003985eafd6f4407190d43509016a5 and goes back to LF as line endings. This also makes updating the library in the future less of a pita.
Besides some tinymce library plugins and random atto yui files all moodle source uses LF as line endings, so I think that also justifies the change.