summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2023-06-13 15:24:30 +0300
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2023-06-13 15:24:30 +0300
commit38b8e2320622647eae139050102284f25e5650ee (patch)
tree104175bf6b8b63eac539c78dceda15f86e96e2fb
parent2b373f795c42f330c02998c3a889d17752f1b3ba (diff)
downloadredot-engine-38b8e2320622647eae139050102284f25e5650ee.tar.gz
[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) {