Update for PHP CS Fixer 3.10.0
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 30 Aug 2022 15:25:01 +0000 (17:25 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 30 Aug 2022 15:25:01 +0000 (17:25 +0200)
files/lib/system/exporter/WordPress3xExporter.class.php

index 8b72302af315c6f78e0e08051cb945ea8acf44e7..bbbf014352a8e6d7ba7d728f47a9da1762e147ad 100644 (file)
@@ -707,7 +707,7 @@ class WordPress3xExporter extends AbstractExporter
 
         $string = \str_replace("</p>", "</p><p><br></p>", $string);
         /* Remove trailing linebreak in quotes */
-        $string = \preg_replace("~<p><br></p>(?=\s*</blockquote>)~", '', $string);
+        $string = \preg_replace("~<p><br></p>(?=\\s*</blockquote>)~", '', $string);
 
         $string = \str_replace("<blockquote>", "<woltlab-quote>", $string);
         $string = \str_replace("</blockquote>", "</woltlab-quote>", $string);