Skip to content

Blockly injects invalid CSS #5585

Description

@moniika

Describe the bug

Blockly injects CSS with syntax errors into page.

To Reproduce

Steps to reproduce the behavior:

  1. Open playground
  2. Inspect <style> tag with id blockly-common-style and copy/paste content into syntax checker like csslint.net

Additional context

Most of the errors appear to be caused by accidental single quote character being included in css.

Issue noticed when debugging test failure in Blockly Samples RaspberryPiFoundation/blockly-samples#907

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions