Skip to content

HTML attributes without value are not supported #15

Description

@gre

Hi,

I've tried to used in my Markdown:

<iframe width="853" height="480" src="//www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0" allowfullscreen></iframe>

which is the "embed" code provided by youtube
but unfurtunately it is escaped,

However,

<iframe width="853" height="480" src="//www.youtube.com/embed/dQw4w9WgXcQ" frameborder="0"></iframe>

is not escaped and is properly displayed.

So it seems your library won't parse attributes without value (which is valid HTML5).

Regards,
gre

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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