Completed
Push — master ( fdf780...2ff9ad )
by Auke
12:19 queued 03:15
created
src/xml/NodeListTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         }
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $contents
60
+     */
58 61
     protected function escape( $contents ) {
59 62
         $contents = preg_replace('/[^\x{0009}\x{000a}\x{000d}\x{0020}-\x{D7FF}\x{E000}-\x{FFFD}]+/u', '', $contents);
60 63
         return htmlspecialchars( $contents, ENT_XML1, 'UTF-8');
Please login to merge, or discard this patch.