MDL-24223 more unittests for html purifier
[moodle.git] / lib / simpletest / testhtmlpurifier.php
index 3ba87b7..889fd42 100644 (file)
@@ -48,6 +48,8 @@ class htmlpurifier_test extends UnitTestCase {
         $text = '<lang lang="de_DU">xxxxxx</lang>';
         $this->assertIdentical($text, purify_html($text));
 
+        $text = "\n\raa\rsss\nsss\r";
+        $this->assertIdentical($text, purify_html($text));
     }
 
 }