diff options
author | habeascodice <habeascodice@federated.social> | 2014-09-29 15:41:47 -0700 |
---|---|---|
committer | habeascodice <habeascodice@federated.social> | 2014-09-29 15:41:47 -0700 |
commit | e62a95aabaa9343ea3f4d26355c66d4e8a19807c (patch) | |
tree | 20e8ffdceb5acc2c4e95a76b9716102a1c135213 | |
parent | c07643e407aab16ecabfdf5f641166583e02ec36 (diff) | |
download | volse-hubzilla-e62a95aabaa9343ea3f4d26355c66d4e8a19807c.tar.gz volse-hubzilla-e62a95aabaa9343ea3f4d26355c66d4e8a19807c.tar.bz2 volse-hubzilla-e62a95aabaa9343ea3f4d26355c66d4e8a19807c.zip |
regex missing terminator char
-rwxr-xr-x | include/items.php | 2 |
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']); } |