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

Append_bbcode doesn't pop tags without adding them in the same call #37774

Closed
KoBeWi opened this issue Apr 10, 2020 · 1 comment · Fixed by #98082
Closed

Append_bbcode doesn't pop tags without adding them in the same call #37774

KoBeWi opened this issue Apr 10, 2020 · 1 comment · Fixed by #98082

Comments

@KoBeWi
Copy link
Member

KoBeWi commented Apr 10, 2020

Godot version:
3.2.1

Issue description:

$RichTextLabel.append_bbcode("[color=red]test[/color]test2")

image

$RichTextLabel.append_bbcode("[color=red]")
$RichTextLabel.append_bbcode("test")
$RichTextLabel.append_bbcode("[/color]")
$RichTextLabel.append_bbcode("test2")

image

@JulianHeuser
Copy link
Contributor

In case anyone is banging their head against the wall like I was, a decent workaround for this is to use pop() instead.

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.

4 participants