Mojira Archive
MC-48904

Words in chat do not wrap correctly and do not make a new line.

Hello Mojang Team,

When words are in a long string such as a long word or link, they do not get wrapped correctly and therefore go onto a new line in the middle of the word or link.

There are a few ways that I have found that the issue can be reproduced:

The first one being here:

tellraw @a {"text":"#########1 ########2 ########3 ########4 ","extra":[{"text":"some-text-without-spaces-here"}]}

And the second being here. The only difference is that even though there is color present, it seems to make no difference.

tellraw @a {"text":"#########1 ########2 ########3 ########4 ","extra":[{"text":"some-text-without-spaces-here","color":"red"}]}

This is one more example of the formatting with a link and color involved.

tellraw @a {"text":"","extra":[{"text":"Visit Google here: GOOOOOOOOOOOOGLE ","color":"white"},{"text":"http://goooooooooooooooooooooooooooooooogle.com","color":"dark_aqua"}]}

This is a real-world example on a CraftBukkit server using a plugin for Auto-Announcing messages to the Server. You see the "for" in the second message is white (or reset) and still seems to be getting not wrapped correctly.

Fixed

Matt Anthony

2014-02-17, 06:41 AM

2020-09-23, 10:15 PM

2014-07-30, 08:52 AM

5

4

Unconfirmed

Minecraft 1.7.4, Minecraft 14w07a

Minecraft 14w30c