MyBB Community Forums
[Duplicate] Nested lists - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Development (https://community.mybb.com/forum-161.html)
+--- Forum: MyBB 1.8 Development (https://community.mybb.com/forum-165.html)
+---- Forum: 1.8 Bugs and Issues (https://community.mybb.com/forum-157.html)
+----- Forum: Rejected (https://community.mybb.com/forum-184.html)
+----- Thread: [Duplicate] Nested lists (/thread-228463.html)



Nested lists - McLayn - 2020-07-05

When I use nested list like this:
[list]
[*]test 1
[list]
[*]test 2
[/list]
[/list]

And then I click on "Preview Post" (or I publish the post and then edit it using "full edit"), the code changes to:
[list]
[*]test 1
[list]
[*]
[*]test 2
[/list][/list]

And after another repetition it turns into:
[list]
[*]test 1
[list]
[*]

[*]test 2
[/list][/list]

With more repetitions, only more blank lines are added.


RE: Nested lists - JordanMussi - 2020-07-05

Hi there, thanks for getting in touch. I think this is the same issue as reported here.

We have a fix proposed on our GitHub repository, could you test if it resolves the issue for you?


RE: Nested lists - McLayn - 2020-07-05

Thank you for your response.
I can confirm that it is the same problem as in this thread and this GitHub issue.
However, I can't promis testing the fix proposed in this pull request. Even if I could test it on our example, I don't have enough knowledge to test whether this fix doesn't break something else.

Tested.
Good job as far as I can tell :)
https://github.com/mybb/mybb/pull/4077#pullrequestreview-442714932


RE: Nested lists - JordanMussi - 2020-07-06

Thank you very much for testing! It’s likely the fix will be included in 1.8.24 but you can apply the changes to your board so as to avoid the wait. Smile