mirror of
https://github.com/friendica/friendica
synced 2025-04-22 16:30:11 +00:00
Bugfix: API: No extra encoding for the status text - makes it more compatible to statusnet
Bugfix: BBCode: Fixed charset problems.
This commit is contained in:
parent
e9d7f85297
commit
db2f0f7919
2 changed files with 6 additions and 2 deletions
|
@ -353,6 +353,8 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
|||
$Text = str_replace(array("<html><body>", "</body></html>", $doctype), array("", "", ""), $Text);
|
||||
|
||||
$Text = str_replace('<br></li>','</li>', $Text);
|
||||
|
||||
$Text = mb_convert_encoding($Text, "UTF-8", 'HTML-ENTITIES');
|
||||
}
|
||||
|
||||
call_hooks('bbcode',$Text);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue