Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-171001

rawtext %%%%1 cannot be escaped correctly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.20.10.20 Preview, 1.19.83 Hotfix
    • Confirmed
    • Multiple
    • 1166981

      In general, %%1 can be escaped correctly

      {"rawtext":[{"translate":"%%1","with":["hello world"]}]}

      The observed result:

      > hello world

      But when I prepebd %%

      {"rawtext":[{"translate":"%%%%1","with":["hello world"]}]}

      The observed result:

      > %1

      The expected result:

      > %hello world

      I'm pretty sure it's not right because that's not the same as %%%%s

      {"rawtext":[{"translate":"%%%%s","with":["hello world"]}]}

      The observed result:

      > %hello world

            Yueyelongbob Yueyelongbob
            Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              CHK: