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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Already uploaded files

  • MWE.md 36 Bytes

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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