mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:50:10 +00:00
Merge https://github.com/friendica/friendica into pull
Conflicts: include/bbcode.php
This commit is contained in:
commit
fad2679c7e
5 changed files with 5 additions and 4 deletions
|
@ -162,6 +162,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true) {
|
|||
|
||||
// handle nested lists
|
||||
$endlessloop = 0;
|
||||
|
||||
while ((strpos($Text, "[/list]") !== false) && (strpos($Text, "[list") !== false) &&
|
||||
(strpos($Text, "[/ol]") !== false) && (strpos($Text, "[ol]") !== false) &&
|
||||
(strpos($Text, "[/ul]") !== false) && (strpos($Text, "[ul]") !== false) && (++$endlessloop < 20)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue