Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RichTextLabel BBCode: cannot nest ordered lists inside unordered lists #92738

Closed
daenvil opened this issue Jun 3, 2024 · 0 comments · Fixed by #92745
Closed

RichTextLabel BBCode: cannot nest ordered lists inside unordered lists #92738

daenvil opened this issue Jun 3, 2024 · 0 comments · Fixed by #92745
Assignees
Milestone

Comments

@daenvil
Copy link

daenvil commented Jun 3, 2024

Tested versions

v4.2.2.stable.official [15073af]

System information

Godot v4.2.2.stable - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1050 Ti (NVIDIA; 31.0.15.3699) - AMD Ryzen 5 2600 Six-Core Processor (12 Threads)

Issue description

When writing an ordered list inside an unordered list, the ordered list is displayed as if it was unordered:

[ul]
item 1
item 2
[ol]
nested item 1
nested item 2
[/ol]
[/ul]

image

Specifying the types has no effect either:

image

The expected behavior would be for the nested list to be numbered.

Steps to reproduce

  1. Create a scene
  2. Add a RichTextLabel node and enable BBCode on it
  3. Write a nested list such as the following:
[ul]
item 1
item 2
[ol]
nested item 1
nested item 2
[/ol]
[/ul]
  1. The ordered list is not numbered

Minimal reproduction project (MRP)

ol_test.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants