Merge pull request #56586 from dalexeev/rtl-bracket-escapes
This commit is contained in:
commit
019474f2b8
1 changed files with 6 additions and 0 deletions
|
|
@ -3066,6 +3066,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…
Add table
Add a link
Reference in a new issue