-
Notifications
You must be signed in to change notification settings - Fork 9
Description
Describe the feature / change
In recent times I often observed that some books signed in older versions had completely broken their formatting.
Here is an example:

What is especially interesting is that the book was once fine and now has a text shadow which is normally impossible in books and also some text is know in the wrong colour.
I had my suspicion that this was caused by the changes made in 1.21.6 to the book UI and sure enough after a bit of testing I noticed that if you had used "§r" in a book before 1.21.6 and then upgraded to a newer version the formatting breaks.
This is especially heartbreaking because a lot of books on the server were written before 1.21.6 and now a lot of text and formating is broken - there are some cases where the text is more difficult to readable because it is now incorrectly white and only the shadow hints at the text.
I reported this bug on the bugtracker (https://report.bugs.mojang.com/servicedesk/customer/portal/2/MC-305739) but I don't have high hopes, with the lack of care Mojang in recent times treated the book formatting system (Sadly the formatting codes couldn't even stand as a parity issue https://report.bugs.mojang.com/servicedesk/customer/portal/2/MC-305384). The chance they fix a bug that relates to a deprecated feature is very slim and even if, the priority of such a thing would be very low.
So maybe Scribble could fix this bug - this would be very helpful for preserving formatting in books. I don't know what in the code causes this bug and if the information of the formatting is still there just incorrectly displayed. If that is the case I imagine Scribble could maybe "refresh" the book in some way because in newly singed books after 1.21.6 this bug doesn't appere again and is to my knowledge is limited to the 1.21.6 upgrade.
I believe this would be an essential addition to Scribble so Scribble doesn't only help you create formatting but also helps to keep it.