Skip to content

Alt attribute being stripped #63

@mark-making

Description

@mark-making

For img when an image is decorative, the best practise is to have an empty alt description like so:

<img width="10" height="40" src="../img.src" alt=""/>

When the document is generated via Jekyll, I get the output I expect above.

When it is ran through this plugin, it seems to be rewriting the alt tag.

<img width="10" height="40" src="../img.src" alt style="inlined styles">

Which is not the desired outcome.

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