Bug report: div not visible in mmd when the md file start with a div

christian.kolen's Avatar

christian.kolen

19 Sep, 2016 03:22 AM

Hi,

In MWE.md, it contains

<div class="Problem">
testing
</div>

But when opened in MMDC, it is shown as


testing

I tried it on MMDC 3 latest beta, and MMDC 2.9, and both gives the same result.

Thanks,
Kolen

  1. Support Staff 1 Posted by Fletcher on 20 Sep, 2016 04:56 PM

    Fletcher's Avatar

    The problem only occurs when the entire document "looks like" an HTML
    document. If everything is wrapped in <div>s, then it gets processed as
    an XML document to see if it is actually OPML.

    As long as part of your document is regular MultiMarkdown, it should
    open fine (and does for me). For example:

    <div class="Problem">
    testing
    </div>

    This is regular text to prove it's a Markdown document.

    Fletcher

  2. Fletcher closed this discussion on 19 Sep, 2017 05:43 AM.

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

Keyboard shortcuts

Generic

? 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