mirror of
https://github.com/friendica/friendica
synced 2025-04-19 11:50:12 +00:00
Merge pull request #13880 from MrPetovan/bug/13878-deprecate-star-list
Deprecate use of [*] BBCode tag for list items in favor of [li]
This commit is contained in:
commit
2cc8fcc4aa
6 changed files with 46 additions and 45 deletions
|
@ -89,7 +89,7 @@ class Tos extends BaseModule
|
|||
$rules = "[ol]";
|
||||
foreach (explode("\n", $lines) as $line) {
|
||||
if (trim($line)) {
|
||||
$rules .= "\n[*]" . trim($line);
|
||||
$rules .= "\n[li]" . trim($line);
|
||||
}
|
||||
}
|
||||
$rules .= "\n[/ol]\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue