Skip to content

Message and variable name including '&' destructs toolbox and blocks #1939

@yokobond

Description

@yokobond

Expected Behavior

'&' should be able to use in message or variable names.

Actual Behavior

When a message or variable contains '&', the message or variable blocks in the Toolbox has no name and blocks in the Code area is empty.

This problem is reported in discussion forum.
When "&" is included in the message, the existing block disappears. - Discuss Scratch

Steps to Reproduce

  1. Name a new message or variable with '&'.
  2. Open 'Costume' tab and re-open 'Code' tab.

Operating System and Browser

MacOS 10.13.6
Chrome 71.0.3578.98

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions