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 3

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

Thank you for your report!
After consideration, the issue is being closed as Won't Fix.

Please note that this is not the same as Working as Intended, as this bug report correctly describes behavior in the game that might not be the intended or desirable behavior, but it will not be fixed right now. Sometimes, this is because the issue reported is minor and/or impossible to change without large architectural changes to the code base.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

+merlan #flirora

(Unassigned)

Confirmed

26.3, 26.4 Snapshot 4

Retrieved