Pārlūkot izejas kodu

Fix RichTextLabel [ol type=1] tag closing.

bruvzg 3 gadi atpakaļ
vecāks
revīzija
cf3d3a6ffa
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      scene/gui/rich_text_label.cpp

+ 1 - 1
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);