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

Check if bbcode is enable and filled before parsing and overwrite text property #36037

Closed
wants to merge 1 commit into from

Conversation

leodimano
Copy link

@leodimano leodimano commented Feb 8, 2020

When the RichTextLabel node gets duplicates the last property to be duplicate is CustomEffects wich calls the parse_bbcode method. I've fix the parse_bbcode method to process only if the use_bbcode is flagged and there is actual bbcode to be parsed, otherwise keep the current node text.

Bugsquad edit: Fixes #35553

…bbcode and overwrite text property

When the RichTextLabel node gets duplicates the last property to be duplicate is CustomEffects wich calls the parse_bbcode method. Fix the parse_bbcode method to process only if the use_bbcode flagged and there is actual bbcode to be parsed, otherwise keep the current node text.
@Calinou Calinou changed the title Fix Issue 35553: check if bbcode is enable and filled before parsing and overwrite text property Check if bbcode is enable and filled before parsing and overwrite text property Feb 8, 2020
@Calinou Calinou added this to the 4.0 milestone Jan 5, 2021
@akien-mga
Copy link
Member

Superseded by #39418.

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

Successfully merging this pull request may close these issues.

RichTextLabel's text is not copied on duplication
3 participants