From e62a95aabaa9343ea3f4d26355c66d4e8a19807c Mon Sep 17 00:00:00 2001 From: habeascodice Date: Mon, 29 Sep 2014 15:41:47 -0700 Subject: regex missing terminator char --- include/items.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/items.php') diff --git a/include/items.php b/include/items.php index ac960258c..31364de60 100755 --- a/include/items.php +++ b/include/items.php @@ -1568,7 +1568,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']); } -- cgit v1.2.3