Importing json file containing encoded characters does not decode them correctly
-
One of the blocks we use has CSS variables in it’s block data. When exported this looks like the following:
\"var(\\u002d\\u002dcc-color-1)\"
When this is imported, we expect the value to be decoded as:
var(--cc-color-1)
However, it actually appears in the block pattern as:
var(u002du002dcc-color-1)
Please can you decode unicode escaped characters when importing json files and when importing reusable blocks.
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Importing json file containing encoded characters does not decode them correctly’ is closed to new replies.