mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 02:35:12 +00:00
Merge pull request #626 from habeascodice/master
regex missing terminator char
This commit is contained in:
commit
98af2de9b4
1 changed files with 1 additions and 1 deletions
|
@ -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']);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue