Skip to content
This repository was archived by the owner on Jul 15, 2019. It is now read-only.
This repository was archived by the owner on Jul 15, 2019. It is now read-only.

embeded images can not show after purifying #32

@xifengfang

Description

@xifengfang

"x" is added to the src data part.

For example

before purifying:
<img src="data:image/png;base64,iVB<MoreBase64SringHere>" >
after purifying:
<img src="x-data:image/png;base64,iVB<MoreBase64SringHere>" >

"x-data:image/png" is an invalid value for image src. It turns out the images can not show at all in any browser.

Is there any workaround or quick fix for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions