]> git.mxchange.org Git - friendica.git/commitdiff
BBCode - fixed code styling
authorpeter <peter@jean-luc-picard>
Fri, 25 Jan 2019 00:25:06 +0000 (01:25 +0100)
committerpeter <peter@jean-luc-picard>
Fri, 25 Jan 2019 00:25:06 +0000 (01:25 +0100)
src/Content/Text/BBCode.php

index f2254606451a101db6d5c1c919e4c810ddf64129..b710dc13ec3640e2c830325f57612ba4c1d9052d 100644 (file)
@@ -1370,7 +1370,7 @@ class BBCode extends BaseObject
                $text = preg_replace("/\[url\](\/[$URLSearchString]*)\[\/url\]/ism", '<a href="'.System::baseUrl().'$1">$1</a>', $text);
                $text = preg_replace("/\[url\=(\/[$URLSearchString]*)\](.*?)\[\/url\]/ism", '<a href="'.System::baseUrl().'$1">$2</a>', $text);         
 
-        $text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/ism", '<a href="$1" target="_blank">$1</a>', $text);
+               $text = preg_replace("/\[url\]([$URLSearchString]*)\[\/url\]/ism", '<a href="$1" target="_blank">$1</a>', $text);
                $text = preg_replace("/\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism", '<a href="$1" target="_blank">$2</a>', $text);
 
                // Red compatibility, though the link can't be authenticated on Friendica