HTML doesn't pass through correctly

BobTodd's Avatar


16 Apr, 2018 04:56 PM


I tried composing a page in MMD with the following basic content:

### Video

<video width="320" height="240" controls>
    <source src="" type="video/mp4">
Your browser might not support the video tag.

### Speaker

Some Speaker

I was referring to this page for the vanilla way to include a video in an HTML document.

When I exported my MMD document to HTML, I had thought that the HTML would pass through unaffected. But the resulting HTML file had the following:

<h3 id="video">Video</h3>

<p>&lt;video width=&#8220;320&#8221; height=&#8220;240&#8221; controls&gt;
<source src="" type="video/mp4">
Your browser might not support the video tag.</p>


<h3 id="speaker">Speaker</h3>

<p>Some Speaker</p>

That is, no video appears because the angle brackets of the <video> tags have been changed to &lt; and &gt; (and everything wrapped in <p> tags).

Am I perhaps missing something about how I should pass HTML through Markdown?

Peace out,

  1. Support Staff 1 Posted by Fletcher on 17 Apr, 2018 04:00 PM

    Fletcher's Avatar

    Has to do with the boolean attribute (controls) not being recognized as HTML. Fixed in MMD itself, and will be fixed in next Composer release.

    See this thread on Twitter for details if interested (assuming I linked properly):



  2. Fletcher closed this discussion on 17 Apr, 2018 04:00 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac