summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2023-06-13 16:03:15 +0200
committerGitHub <noreply@github.com>2023-06-13 16:03:15 +0200
commit49243a9a9816b334002f7d73d9e940d00b49158d (patch)
treedd5d0b0a04d4a6ff7f0441a344e678ff3f621267
parentabb6744d6c01df676d0ae8a8ffa6300f108409a1 (diff)
parent38b8e2320622647eae139050102284f25e5650ee (diff)
downloadredot-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.cpp2
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) {