Fix indentation
This commit is contained in:
parent
60eb6603bf
commit
30a6231f11
1 changed files with 1 additions and 1 deletions
|
@ -1746,7 +1746,7 @@ class BBCode extends BaseObject
|
||||||
* - [url=<anything>]#<term>[/url]
|
* - [url=<anything>]#<term>[/url]
|
||||||
*/
|
*/
|
||||||
$text = preg_replace_callback("/(?:#\[url\=.*?\]|\[url\=.*?\]#)(.*?)\[\/url\]/ism", function($matches) {
|
$text = preg_replace_callback("/(?:#\[url\=.*?\]|\[url\=.*?\]#)(.*?)\[\/url\]/ism", function($matches) {
|
||||||
return '#<a href="'
|
return '#<a href="'
|
||||||
. System::baseUrl() . '/search?tag=' . rawurlencode($matches[1])
|
. System::baseUrl() . '/search?tag=' . rawurlencode($matches[1])
|
||||||
. '" class="tag" rel="tag" title="' . XML::escape($matches[1]) . '">'
|
. '" class="tag" rel="tag" title="' . XML::escape($matches[1]) . '">'
|
||||||
. XML::escape($matches[1])
|
. XML::escape($matches[1])
|
||||||
|
|
Loading…
Reference in a new issue