]> git.mxchange.org Git - friendica.git/commitdiff
Issue 12842: Use BBCode elements that are Markdown agnostic
authorMichael <heluecht@pirati.ca>
Tue, 21 Mar 2023 20:32:34 +0000 (20:32 +0000)
committerMichael <heluecht@pirati.ca>
Tue, 21 Mar 2023 20:32:34 +0000 (20:32 +0000)
src/Content/Text/HTML.php

index c1bcb0b5b00e4adf924853112fa18fe9f5e74a22..89a680501f1674761d0c394cf1bc17799a50a6b5 100644 (file)
@@ -283,7 +283,7 @@ class HTML
 
                        self::tagToBBCode($doc, 'ul', [], "[ul]", "\n[/ul]");
                        self::tagToBBCode($doc, 'ol', [], "[ol]", "\n[/ol]");
-                       self::tagToBBCode($doc, 'li', [], "\n[*]", "");
+                       self::tagToBBCode($doc, 'li', [], "\n[li]", "[/li]");
 
                        self::tagToBBCode($doc, 'hr', [], "[hr]", "");