Skip to content

(bug) background-image with double quotes #403

@mifi

Description

@mifi

input:

<div style="width: 300px; height: 300px; background-image:url(&quot;https://via.placeholder.com/350x150&quot;)" class="image-background bg-image-1"></div>

output:

<div style="width: 300px; height: 300px; background-image:url("350x150")" class="image-background bg-image-1"></div>

it doesn't escape the double quotes, producing invalid HTML

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions