Scratch-gui: Variables containing XML tags being mistreated

Created on 2 Sep 2017  路  7Comments  路  Source: LLK/scratch-gui

Expected Behavior

Creating a variable with the name <hi>Some text</hi> should render as <hi>Some text</hi>

Actual Behavior

Creating a variable with the name <hi>Some text</hi> renders as Some text

Steps to Reproduce

Go to the "Data" category, click "Create Variable", then type <hi>Some text</hi> and click "OK"

Operating System and Browser

Windows 10, Chrome 60.0.3112.113

enhancement help wanted

Most helpful comment

I'll work on this bug. After a bit of research, the issue seems to actually lie in the scratch-blocks repo.

All 7 comments

This also allows variables with (seemingly) identical names:
test
||
V
test

I'll work on this bug. After a bit of research, the issue seems to actually lie in the scratch-blocks repo.

So, the part about the block names in the palette was in scratch-blocks, and fixing it on stage monitors was in scratch-vm. Just submitted PR LLK/scratch-vm#701 to fix it there.

I recommend closing this after those two are resolved.

Apparently fixed:

Upstream merge solved this! Thanks for the patience.

@towerofnix Well, one of the two parts was fixed.

Second PR has been merged; this issue can be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ericrosenbaum picture ericrosenbaum  路  3Comments

TaiAurori picture TaiAurori  路  3Comments

chrisgarrity picture chrisgarrity  路  4Comments

ericrosenbaum picture ericrosenbaum  路  4Comments

MrBlockCat picture MrBlockCat  路  4Comments