Add BBCode escape sequences
This commit is contained in:
parent
697fb6e874
commit
884f1acff8
1 changed files with 6 additions and 0 deletions
|
@ -3064,6 +3064,12 @@ void RichTextLabel::append_text(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 == "lrm") {
|
||||
add_text(String::chr(0x200E));
|
||||
pos = brk_end + 1;
|
||||
|
|
Loading…
Reference in a new issue