-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
BBcode doesn't work well if the markers are closed in reverse order #23983
Comments
But why do you close tags out of order? |
BBcode on forums doesn't care about order, and it's an easy enough mistake to make. |
Well, forums run on servers with many gigabytes of RAM and many GHz CPUs, and general developers are much more disciplined. I doubt making fuzzy parser for bbcode worth the gain at all. Just my personal opinion. |
State of this issue: since 3.2, the MRP with reversed close tags produces "Ziemnikq[/center]", which is a fair improvement on 3.1. |
Yes that seems correct to me, unless we aim to explicitly support closing tags in random order, but I don't think it's necessary. |
Godot version:
3.1 9e62826
OS/device including version:
Windows 10
Issue description:
When my BBcode in RichTextLabel is like below, everything works as I expect:
but when I change text to this, then strange text after my text appear
Minimal reproduction project:
Test.zip
The text was updated successfully, but these errors were encountered: