You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The project.json contains a \, I believe to avoid ambiguities about the @ symbol's special meaning (like @greenFlag). However, in Scratch 3.0, this doesn't appear to be done.
Based on the escape function in scratch-flash, I believe only the \, %, and @ characters are escaped, and are the only ones which need to be unescaped.
apple502j
added a commit
to apple502j/scratch-vm
that referenced
this issue
Sep 16, 2018
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).
The text was updated successfully, but these errors were encountered: