1
1
Fork 0

Merge remote-tracking branch 'upstream/develop' into 1607-api-generic-xml

This commit is contained in:
Michael Vogel 2016-07-15 17:19:16 +02:00
commit a64b7704d8

View file

@ -3249,7 +3249,6 @@
$include_entities = strtolower(x($_REQUEST,'include_entities')?$_REQUEST['include_entities']:"false"); $include_entities = strtolower(x($_REQUEST,'include_entities')?$_REQUEST['include_entities']:"false");
$Text = bb_CleanPictureLinks($Text); $Text = bb_CleanPictureLinks($Text);
$URLSearchString = "^\[\]"; $URLSearchString = "^\[\]";
$Text = preg_replace("/([!#@])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism",'$1$3',$Text); $Text = preg_replace("/([!#@])\[url\=([$URLSearchString]*)\](.*?)\[\/url\]/ism",'$1$3',$Text);
@ -3288,6 +3287,8 @@
if (isset($data["url"])) if (isset($data["url"]))
$body .= "\n".$data["url"]; $body .= "\n".$data["url"];
$body .= $data["after"];
return $body; return $body;
} }