Update to moodle specific files related to the upgrade
of htmlpurifier.
-Description of HTML Purifier v4.8.0 library import into Moodle
+Description of HTML Purifier v4.9.3 library import into Moodle
* Make new (or delete contents of) /lib/htmlpurifier/
* Copy everything from /library/ folder to /lib/htmlpurifier/
// Also note we do not need to test links with an existing rel attribute as the HTML Purifier is configured to remove
// the rel attribute.
$text = '<a href="http://moodle.org" target="_blank">Some link</a>';
- $expected = '<a href="http://moodle.org" target="_blank" rel="noreferrer">Some link</a>';
+ $expected = '<a href="http://moodle.org" target="_blank" rel="noreferrer noopener">Some link</a>';
$result = format_text($text, FORMAT_HTML);
$this->assertSame($expected, $result);
<location>htmlpurifier</location>
<name>HTML Purifier</name>
<license>LGPL</license>
- <version>4.8.0</version>
+ <version>4.9.3</version>
<licenseversion>2.1+</licenseversion>
</library>
<library>