You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is by design, in #79011, but needs to be documented, this is because it splits lines for processing messages correctly, so might be an unforeseen consequence of two different behaviors merging (and assumptions that print_rich should contain a single line), but the behavior is there to prevent errors in the output, so unsure how it should be solved other than documenting it
Godot version
4.2.dev1
System information
Manjaro Linux (DE: Cinnamon v5.8.4) 64 bits
Issue description
The title already explains it. Take a look at the steps to reproduce below.
Steps to reproduce
In a GDScript
_ready()
function write this:print_rich("[color=red]Red line\n2nd red line[/color]")
the second line is not red and the output is as follow:
I tested all the the possible BBCodes for the print_rich() method (as stated in the documentation), and of course they all failed.
The RichTextLabel in my projects works as expected.
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: