Chat report message selection improperly displays control characters
The bug
When a message containing a special character (such as a line feed) is displayed within the Select Chat Messages to Report screen, its special characters are displayed without applying any special formatting.
How to reproduce
- Open a world to LAN
- Run the command:
/tellraw @a {"text":"Hello\nthere!"} - Spawn a creeper
- Run the command:
/execute as @e[type=creeper,limit=1] run say hi!
- Open the Social Interactions menu
- Start a report for the creeper (
MC-253497), and select the "Select Chat Messages to Report" button
Result
Instead of
Hello there!
(or alternatively, Hello there!) being displayed in the list of messages, the control character for a line feed is displayed.
2022-06-24, 07:20 PM
2023-02-09, 01:02 PM
2023-02-09, 01:02 PM
2
3
1.19.1 Release Candidate 1, 1.19.1 Pre-release 2, 1.19.1 Pre-release 5
-