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

rawtext %%%%1 cannot be escaped correctly

XMLWordPrintable

    • 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:
              Resolved:
              CHK: