Problems with text after code blocks

rich.ruh's Avatar

rich.ruh

10 May, 2018 09:35 PM

I recently upgraded to version 2.5.11 (9444).

I've noticed that Marked is choking badly when mixing code blocks and text.

To reproduce, load the attached code-block-error.md into Marked. Notice that everything goes wacky after the first code block. The text "More text" never appears, and there is a weird string <!--MKCODEBLOCK-0--> that appears in Marked.

In addition to the .md file, I've also attached a screen shot showing what it looks like in Marked2.

  1. Support Staff 1 Posted by Brett on 10 May, 2018 09:55 PM

    Brett's Avatar

    2.5.12 is waiting for review on the Mac App Store (and available now for
    direct customers). It fixes this issue and a couple of others.

    -Brett

  2. 2 Posted by rich.ruh on 10 May, 2018 10:27 PM

    rich.ruh's Avatar

    Thanks for the fast response.

    I'm a direct customer, so I downloaded 2.5.12. It's better but still not correct. I attached a new screenshot of the same file.

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • code-block-error.md 70 Bytes
  • Marked_screenshot.png 34.3 KB

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