actuarius icon indicating copy to clipboard operation
actuarius copied to clipboard

HTML attributes without value are not supported

Open gre opened this issue 11 years ago • 0 comments

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

gre avatar May 18 '14 16:05 gre