Still more missing places replaced
This commit is contained in:
parent
76d845a138
commit
b192810288
1 changed files with 2 additions and 2 deletions
|
@ -2035,7 +2035,7 @@ class BBCode
|
||||||
|
|
||||||
// Convert it to HTML - don't try oembed
|
// Convert it to HTML - don't try oembed
|
||||||
if ($for_diaspora) {
|
if ($for_diaspora) {
|
||||||
$text = self::convert($text, false, 3);
|
$text = self::convert($text, false, self::DIASPORA);
|
||||||
|
|
||||||
// Add all tags that maybe were removed
|
// Add all tags that maybe were removed
|
||||||
if (preg_match_all("/#\[url\=([$url_search_string]*)\](.*?)\[\/url\]/ism", $original_text, $tags)) {
|
if (preg_match_all("/#\[url\=([$url_search_string]*)\](.*?)\[\/url\]/ism", $original_text, $tags)) {
|
||||||
|
@ -2049,7 +2049,7 @@ class BBCode
|
||||||
$text = $text . " " . $tagline;
|
$text = $text . " " . $tagline;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$text = self::convert($text, false, 4);
|
$text = self::convert($text, false, self::CONNECTORS);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If a link is followed by a quote then there should be a newline before it
|
// If a link is followed by a quote then there should be a newline before it
|
||||||
|
|
Loading…
Reference in a new issue