[BUG] Editor renders text enclosed in HTML-Tags differently, if opening tag is set on new line
Completedsee the images attached. I came across this, because I like to put <small>tags around markdown (for dialects missing // for comments).
nothing that breaks functionality, but perhaps could lead to irritation - or is there a conscious UI-choice I failed to grasp?


-
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 -
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.
Comments
2 comments