Skip to content

Error Saving Project With \b #3749

@AmazingMech2418

Description

@AmazingMech2418

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions