Skip to content

img attribute is getting removed #35

@snap9

Description

@snap9

I'm using imgsrc to support high-resolution display images: https://webkit.org/demos/srcset/

Since Markdown has no built-in support for this, I'm writing out the HTML manually:

<img src="image.jpg" srcset="image-1x.jpg 1x, image-2x.jpg 2x, image-3x.jpg 3x">

But your Markdown library strips this down to

<img src="image.jpg">

It just gets rid of the srcset. Why, and how can I solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions