Explorer and Properties window do not deal with newline characters well

If an instance name has newline characters, these newline characters directly render in the new explorer, as well as the top of the properties window.

In the following images, the name was set to “Test\nHello”

Screenshot 2025-05-07 114335

Screenshot 2025-05-07 114343

Expected behavior

Newline characters should either be ignored or rendered as spaces.

7 Likes

Feels like it shouldn’t be hard to :gsub(“\n”) with a Unicode symbol representing carriage return if you don’t want the newline to be invisible, though I can’t say I’ve ever known people to use newlines in names all that much!

3 Likes

Stumbled across it due to an older Rojo version that used a newline character in the plugin widget UI name! Definitely an odd use case

1 Like