diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index 099d1404847..36d981eded9 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -2165,6 +2165,12 @@ Error RichTextLabel::append_bbcode(const String &p_bbcode) { push_strikethrough(); pos = brk_end + 1; tag_stack.push_front(tag); + } else if (tag == "lb") { + add_text("["); + pos = brk_end + 1; + } else if (tag == "rb") { + add_text("]"); + pos = brk_end + 1; } else if (tag == "center") { push_align(ALIGN_CENTER); pos = brk_end + 1;