Skip to main content

[BUG] Editor renders text enclosed in HTML-Tags differently, if opening tag is set on new line

Completed

Comments

2 comments

  • Fletcher Penney

    The is expected parsing with MultiMarkdown, and is similar to the way CommonMark handles these situations, though not *exactly* the same.

     

    The top one is an HTML block with text inside it.  However, since `<i>` is not a block-level tag, it is not going to be interpreted the way you expect.

     

    The second one is a paragraph that happens to have `<i>` inside of it.

     

    If you insist on the top one, you probably want to put a blank line after the `<i>` in order to trigger Markdown interpretation inside of the italics.

    0
  • jakob.pxi

    You're absolutely right about how a sensible parser needs to handle this, I should have thought of that myself. Thanks!

    0

Please sign in to leave a comment.

Powered by Zendesk