mirror of
https://github.com/friendica/friendica
synced 2024-12-23 18:00:17 +00:00
Merge pull request #3581 from annando/bugfix-markdown
Bugfix: Some special characters weren't converted correctly
This commit is contained in:
commit
e33a710d45
1 changed files with 1 additions and 1 deletions
|
@ -188,7 +188,7 @@ function bb2diaspora($Text, $preserve_nl = false, $fordiaspora = true) {
|
|||
$Text = $converter->convert($Text);
|
||||
|
||||
// unmask the special chars back to HTML
|
||||
$Text = str_replace(array('&_lt_;', '&_gt_;', '&_amp_;'), array('<', '>', '&'), $Text);
|
||||
$Text = str_replace(array('&\_lt\_;', '&\_gt\_;', '&\_amp\_;'), array('<', '>', '&'), $Text);
|
||||
|
||||
$a->save_timestamp($stamp1, "parser");
|
||||
|
||||
|
|
Loading…
Reference in a new issue