https://reisub.nsupdate.info/git
/
friendica-addons.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5c7a49
)
Markdown: Avoid problems with [*] BBCode element
author
Michael
<heluecht@pirati.ca>
Sat, 10 Feb 2024 12:00:36 +0000
(12:00 +0000)
committer
Hypolite Petovan
<hypolite@mrpetovan.com>
Sun, 11 Feb 2024 03:17:28 +0000
(
04:17
+0100)
markdown/markdown.php
patch
|
blob
|
history
diff --git
a/markdown/markdown.php
b/markdown/markdown.php
index
236fb29
..
6f45924
100644
(file)
--- a/
markdown/markdown.php
+++ b/
markdown/markdown.php
@@
-64,6
+64,7
@@
function markdown_post_local_start(&$request) {
// (right chevrons are used for quoting in Markdown)
// See https://github.com/friendica/friendica/issues/10634
$text = strtr($text, ['<' => '<']);
+ $text = str_replace('[*]', '[li]', $text);
return Markdown::toBBCode($text);
});