markdown parsing issues while using <div> tags in new post submission
Expected behavior
I wrote a new post in the internal editor of the site. I used <div> element for styling (like <div class="pull-left">. When I wrote markdown code right after the <div> opening tag (or even the closing tag) I expect to see the parsed HTML code beneath in the preview cube.
Actual behavior
The markdown didn't parse. The code appeared just like I wrote it.
How to reproduce
- Get in post submission page.
- Write some markdown code (like
# Header1) - Wrap it with
<div>tag, when there is no empty line between your code and the tag. - You can also try write markdown after the closing tag. The bug appears there also.
Additional information
I found a hint about why it happened. Once I put an empty line between the tag and the code, it works as expected.
- Browser: Microsoft Edge 40.15063.674.0
- Operating system: Microsoft Windows 10 Home
Posted on Utopian.io - Rewarding Open Source Contributors
Leave markdown parsing issues while using <div> tags in new post submission to:
Read more #utopian-io posts
Best Posts From Aviz
We have not curated any of aviz85's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Aviz
- איך ליצור בעצמך בוטים וכלים לסטימאיט - מדריך למתחילים - פרק 4
- מה זה "רקורסיה", ומה זה לא?
- How art teaches us to be critical
- איך ליצור בעצמך בוטים וכלים לסטימאיט - מדריך למתחילים - פרק 3
- My bot, please respond...
- I'm working on a bot right now. So this post is a test for my vote. Hi bot - Do you copy?
- טיפ חשוב לכתיבה ביישור לימין, בשילוב קוד "מארק-דאון"
- markdown parsing issues while using <div> tags in new post submission
- איך ליצור בעצמך בוטים וכלים לסטימאיט - מדריך למתחילים - פרק 2
- The wisdom of my little baby