diff --git a/core/string/print_string.cpp b/core/string/print_string.cpp index 9d01efd802c..57b6bdf58cf 100644 --- a/core/string/print_string.cpp +++ b/core/string/print_string.cpp @@ -257,7 +257,8 @@ void __print_line_rich(const String &p_string) { } else if (tag == "/fgcolor") { output += "\u001b[39;49m"; } else { - output += vformat("[%s]", tag); + output += "["; + pos = brk_pos + 1; } } output += "\u001b[0m"; // Reset.