diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-26 13:52:24 +0200 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2022-01-26 13:52:24 +0200 |
commit | cf3d3a6ffabf8a57ae1fb0f0e2cb047c6b0b1c93 (patch) | |
tree | d6d8e3471c1ff0475f037caf166b5919f04cc929 | |
parent | d289448346a161a55e97efd09fd9b55d33dc346a (diff) |
Fix RichTextLabel [ol type=1] tag closing.
-rw-r--r-- | scene/gui/rich_text_label.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/rich_text_label.cpp b/scene/gui/rich_text_label.cpp index e9d346f943..bc386e9813 100644 --- a/scene/gui/rich_text_label.cpp +++ b/scene/gui/rich_text_label.cpp @@ -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); |