aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhabeascodice <habeascodice@federated.social>2014-09-29 15:41:47 -0700
committerhabeascodice <habeascodice@federated.social>2014-09-29 15:41:47 -0700
commite62a95aabaa9343ea3f4d26355c66d4e8a19807c (patch)
tree20e8ffdceb5acc2c4e95a76b9716102a1c135213
parentc07643e407aab16ecabfdf5f641166583e02ec36 (diff)
downloadvolse-hubzilla-e62a95aabaa9343ea3f4d26355c66d4e8a19807c.tar.gz
volse-hubzilla-e62a95aabaa9343ea3f4d26355c66d4e8a19807c.tar.bz2
volse-hubzilla-e62a95aabaa9343ea3f4d26355c66d4e8a19807c.zip
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 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']);
}