Skip to content

Custom blocks import "@" in the label as "\@" #1307

@towerofnix

Description

@towerofnix

Expected Behavior

Imported custom blocks should have "@" characters exactly as they are.

Actual Behavior

"@" characters are replaced with "\@".

I can edit the custom block and replace the "\@" with "@", so I don't think this is an issue in scratch-blocks (i.e. scratch-blocks can display "@" characters fine, the problem is they're not being imported from 2.0 projects correctly).

Steps to Reproduce

Create a 2.0 project with a custom block that has "@" in the label.

I noticed the issue in this project: https://scratch.mit.edu/projects/150986523/ (See blocks like "3d position @ x y z focal").

Operating System and Browser

Firefox 62.0b6, Debian (testing).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions