Skip to content

Double quotes not escaped for inline style #20

Open
@pietro909

Description

@pietro909

If you input:

<div style="background-image: url(&quot;avatar.jpg&quot;);"></div>

The result is:

div [ attribute "style" "background-image: url("avatar.jpg");" ]
  []

Which is not valid elm code.
It should escape the double quotes:

div [ attribute "style" "background-image: url(\"avatar.jpg\");" ]
  []

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions