Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

data uri parsed oddly #5

Open
tomgenoni opened this issue Mar 2, 2014 · 0 comments
Open

data uri parsed oddly #5

tomgenoni opened this issue Mar 2, 2014 · 0 comments

Comments

@tomgenoni
Copy link

body {background: #aaa url('data:image/png;base64,iVBORw0') no-repeat 10px 12px;}

is parsed as:

{
  "children": {
    "body": {
      "0": "base64,iVBORw0') no-repeat 10px 12px;",
      "children": {},
      "attributes": {
        "background": "#aaa url('data:image/png"
      }
    }
  },
  "attributes": {}
}

Looks like it chokes on the semicolon after png.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant