Marked version: 0.4.0+
Describe the bug
Links, bold, backticks, don't render in a <div> unless there is a blank line prior to their being used.
To Reproduce
Steps to reproduce the behavior:
Broken
<div>
[link](https://angularjs.org)
</div>
Working
<div>
[link](https://angularjs.org)
</div>
Expected behavior
- It works with
marked@0.3.19 (demo) and breaks in 0.4.0.
Is there any way for me to quickly monkey patch the renderer/parser (sorry I'm not real familiar with marked) to make this work again?
I've got a couple of sites with hundreds of pages of markdown that parses fine with 0.3.19 but breaks with the latest versions of marked. For security, it's obviously critical to update, but I want to avoid going in and adding 20,000 blank lines to my files if at all possible...