-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
scratchfoundation/scratch-parser
#62Description
Expected Behavior
All projects should be able to save.
Actual Behavior
If a project has \b as an input or value stored in a variable, the project won't save, a downloaded copy will fail to load, and an error will show in the console when attempting either of these.
Steps to Reproduce
Create a project with \b in a variable or input for any block and try to save it.
This should be able to be fixed with a minor update to serialization that escapes \b. It seems the JSON.parse function automatically encodes the sequence into a backspace, which results in the error.
cwillisf