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

Does not recognize HTML attributes without values #6

@ahmedalsudani

Description

@ahmedalsudani

If you try compiling the following:

<video src="video.mp4"
       autoplay></video>

you won't get a video element. Instead, you get:

<p>&lt;video src=&quot;video.mp4&quot;
autoplay&gt;</video></p>

The following equivalent snippet works: (notice the ="" part)

<video src="video.mp4"
       autoplay=""></video>

and you end up with:

<p><video src="video.mp4"
autoplay=""></video></p>

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