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:
d8bd192
)
BBcode, Tags - fixed doubbbllee trroubbllee
author
Peter Liebetrau
<peter.liebetrau@gmail.com>
Tue, 29 Jan 2019 20:35:11 +0000
(21:35 +0100)
committer
Peter Liebetrau
<peter.liebetrau@gmail.com>
Tue, 29 Jan 2019 20:35:11 +0000
(21:35 +0100)
src/Model/Item.php
patch
|
blob
|
history
diff --git
a/src/Model/Item.php
b/src/Model/Item.php
index
192c9b1
..
77ba9e6
100644
(file)
--- a/
src/Model/Item.php
+++ b/
src/Model/Item.php
@@
-2472,9
+2472,6
@@
class Item extends BaseObject
$replace = ['#', '['];
return ("[code" . str_replace($find, $replace, $match[1]) . "]" . $match[2] . "[/code]");
}, $item["body"]);
-
- // Convert back the masked hashtags
- $item["body"] = str_replace("#", "#", $item["body"]);
}
public static function getGuidById($id)