mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-23 10:03:41 +00:00
Merge pull request 'Markdown: Avoid problems with [*] BBCode element' (#1463) from heluecht/friendica-addons:bbcode-list into develop
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1463
This commit is contained in:
commit
52ea77eabb
1 changed files with 1 additions and 0 deletions
|
@ -64,6 +64,7 @@ function markdown_post_local_start(&$request) {
|
||||||
// (right chevrons are used for quoting in Markdown)
|
// (right chevrons are used for quoting in Markdown)
|
||||||
// See https://github.com/friendica/friendica/issues/10634
|
// See https://github.com/friendica/friendica/issues/10634
|
||||||
$text = strtr($text, ['<' => '<']);
|
$text = strtr($text, ['<' => '<']);
|
||||||
|
$text = str_replace('[*]', '[li]', $text);
|
||||||
|
|
||||||
return Markdown::toBBCode($text);
|
return Markdown::toBBCode($text);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue