Fix RichTextLabel [ol type=1] tag closing.

This commit is contained in:
bruvzg 2022-01-26 13:52:24 +02:00
parent d289448346
commit cf3d3a6ffa
No known key found for this signature in database
GPG key ID: 7960FCF39844EC38

View file

@ -3154,7 +3154,7 @@ void RichTextLabel::append_text(const String &p_bbcode) {
indent_level++;
push_list(indent_level, LIST_NUMBERS, false);
pos = brk_end + 1;
tag_stack.push_front(tag);
tag_stack.push_front("ol");
} else if (tag == "ol type=a") {
indent_level++;
push_list(indent_level, LIST_LETTERS, false);