https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60eb660
)
Fix indentation
author
Michael
<heluecht@pirati.ca>
Sun, 27 Oct 2019 17:45:43 +0000
(17:45 +0000)
committer
Michael
<heluecht@pirati.ca>
Sun, 27 Oct 2019 17:45:43 +0000
(17:45 +0000)
src/Content/Text/BBCode.php
patch
|
blob
|
history
diff --git
a/src/Content/Text/BBCode.php
b/src/Content/Text/BBCode.php
index
fc5c772
..
9169c91
100644
(file)
--- a/
src/Content/Text/BBCode.php
+++ b/
src/Content/Text/BBCode.php
@@
-1746,7
+1746,7
@@
class BBCode extends BaseObject
* - [url=<anything>]#<term>[/url]
*/
$text = preg_replace_callback("/(?:#\[url\=.*?\]|\[url\=.*?\]#)(.*?)\[\/url\]/ism", function($matches) {
-
return '#<a href="'
+ return '#<a href="'
. System::baseUrl() . '/search?tag=' . rawurlencode($matches[1])
. '" class="tag" rel="tag" title="' . XML::escape($matches[1]) . '">'
. XML::escape($matches[1])