Passed
Pull Request — release-2.1 (#7039)
by Jon
04:23
created
Sources/Mentions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -251,7 +251,7 @@
 block discarded – undo
251 251
 			return array();
252 252
 
253 253
 		// preparse code does a few things which might mess with our parsing
254
-		$body = htmlspecialchars_decode(preg_replace('~<br\s*/?'.'>~', "\n", str_replace('&nbsp;', ' ', $body)), ENT_QUOTES);
254
+		$body = htmlspecialchars_decode(preg_replace('~<br\s*/?' . '>~', "\n", str_replace('&nbsp;', ' ', $body)), ENT_QUOTES);
255 255
 
256 256
 		// Exclude the content of various BBCodes.
257 257
 		if (empty($excluded_bbc_regex))
Please login to merge, or discard this patch.