mojira.dev
MC-312748

Legacy formatting codes in book and quill editor only apply to end of visual line

In the book and quill editor screen (see first screenshot), legacy formatting codes (those starting with §) affect only the text up to the end of its visual line. In contrast, legacy formatting codes apply to the end of the page or until a conflicting code when viewing a signed book or a book in a lectern (second screenshot).

Reproduction

  1. Type the command /give @s minecraft:writable_book[minecraft:writable_book_content={pages:["\u00A74The quick brown fox jumps over the lazy dog"]}]

  2. Open the resulting book and quill

Expected behavior: All of the lines of text should look dark red

Actual behavior: Only the first line looks red; the subsequent lines are black

Linked issues

Attachments

Comments 2

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Can confirm, but Mojang has stated that legacy § formatting codes are deprecated and that strings using them may stop working in future versions. See slicedlime’s comment on MC-190605:
MC-190605

+merlan #flirora

(Unassigned)

Confirmed

26.3, 26.4 Snapshot 4

Retrieved