When bold styling carries on to a new line, the cursor appears in the wrong place. There are probably other issues too.
Steps to reproduce:
Open up a new book in the vanilla interface
Paste in the section sign(§) then type l (lowercase L - the format code for bold)
Type:
This is a test of bold formatting
Note that the cursor is rendered under the 'i' and 'n', instead of after the 'g'
I think this might have been why extra format codes were being inserted before (#13, #14, #21)
I'm not really sure what to do about this. Adding extra format characters at the start of every line fixes it, but that will cause issues like #13 and #21. Thoughts?
Edit: It looks like there's a ticket in the official bug tracker for this issue: https://bugs.mojang.com/browse/MC-181539
When bold styling carries on to a new line, the cursor appears in the wrong place. There are probably other issues too.
Steps to reproduce:
I think this might have been why extra format codes were being inserted before (#13, #14, #21)
I'm not really sure what to do about this. Adding extra format characters at the start of every line fixes it, but that will cause issues like #13 and #21. Thoughts?