diff --git a/checks/class-title-check.php b/checks/class-title-check.php index 2d7bae69..9f0c3515 100644 --- a/checks/class-title-check.php +++ b/checks/class-title-check.php @@ -50,7 +50,7 @@ public function check( $php_files, $css_files, $other_files ) { } // Look for anything that looks like ... and exclude it (inline svg's have titles too). - $file_content = preg_replace( '/.*<\/svg>/s', '', $file_content ); + $file_content = preg_replace( '/.*<\/svg>/isU', '', $file_content ); // Look for and tags. checkcount();