diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2023-06-13 16:03:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 16:03:15 +0200 |
commit | 49243a9a9816b334002f7d73d9e940d00b49158d (patch) | |
tree | dd5d0b0a04d4a6ff7f0441a344e678ff3f621267 | |
parent | abb6744d6c01df676d0ae8a8ffa6300f108409a1 (diff) | |
parent | 38b8e2320622647eae139050102284f25e5650ee (diff) | |
download | redot-engine-49243a9a9816b334002f7d73d9e940d00b49158d.tar.gz |
Merge pull request #78183 from bruvzg/rtl_tag_split
[RTL] Fix parsing tags with multiple features.
-rw-r--r-- | scene/gui/rich_text_label.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 65bf47598e..fe3139c173 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -4478,7 +4478,7 @@ void RichTextLabel::append_text(const String &p_bbcode) { int fnt_size = -1; for (int i = 1; i < subtag.size(); i++) { - Vector<String> subtag_a = subtag[i].split("=", true, 2); + Vector<String> subtag_a = subtag[i].split("=", true, 1); _normalize_subtags(subtag_a); if (subtag_a.size() == 2) { |