Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-228516

In a writeable book, using §r after a new line does not reset the previous formatting on the first line, but does at next line

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.17, 1.17.1, 1.18 Release Candidate 1
    • None
    • Confirmed
    • (Unassigned)

      Copy this character: §

      Take a Writeable Book
      Type (don't copy paste the text below, that doesn't work), use the copied § to insert that character:

      §1This is a text
      
      
      §rReset formatting. It didn't... oh wait

      Make sure the reset format is atleast after one new line with pressing Enter.

       

      If you did this correctly, you will see that §r did not reset the formatting, but it should have done that.

      Later I figured out it did reset it, but only after it went in the next line, which is weird.

      However, if you reset it without a new line, then it will reset it the previous formatting. But it doesn't seem to do that immediately right after a new line.

      The result would look like this:

            Unassigned Unassigned
            joshi77 joshi77
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: