aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRedMatrix <info@friendica.com>2014-10-08 23:30:24 +1100
committerRedMatrix <info@friendica.com>2014-10-08 23:30:24 +1100
commit98af2de9b49bfd8d23807f6f46366ef0f8a74e2b (patch)
treea5ec4826c2eb2c06ed5b47d7a13c5bb7ad180440
parent096fbdb31c258987f9c9ef40f7d5d35df0013bce (diff)
parente62a95aabaa9343ea3f4d26355c66d4e8a19807c (diff)
downloadvolse-hubzilla-98af2de9b49bfd8d23807f6f46366ef0f8a74e2b.tar.gz
volse-hubzilla-98af2de9b49bfd8d23807f6f46366ef0f8a74e2b.tar.bz2
volse-hubzilla-98af2de9b49bfd8d23807f6f46366ef0f8a74e2b.zip
Merge pull request #626 from habeascodice/master
regex missing terminator char
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index 730d81268..c9810bb7c 100755
--- a/include/items.php
+++ b/include/items.php
@@ -1570,7 +1570,7 @@ function get_atom_elements($feed,$item,&$author) {
// We could probably turn these old Friendica bbcode bookmarks into bookmark tags but we'd have to
// create a term table item for them. For now just make sure they stay as links.
- $res['body'] = preg_replace('/\[bookmark(.*?)\](.*?)\[\/bookmark\]','[url$1]$2[/url]',$res['body']);
+ $res['body'] = preg_replace('/\[bookmark(.*?)\](.*?)\[\/bookmark\]/','[url$1]$2[/url]',$res['body']);
}