]> git.mxchange.org Git - friendica.git/blobdiff - src/Content/Text/BBCode.php
BBCode - fixed code styling
[friendica.git] / 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