New line inside paragraph not work.

Instead if i put two spaces after the new line i have the correct result...

why this strange behavior??
Has anyone found a solution?Thanks :)
The latest Commonmark spec says to put a \ at the end of the line, but I'm not sure it's implemented here
Have you set breaks: true?
I had a same problem, but @j16180339887 's comment helped! Thanks :D
I should've read configurations thoroughly
Solved @joshbruce
Have you set
breaks: true?
Thanks @joeky888. This worked for me.
marked(markdown, { breaks: true })
You can read the full set of options on the USING_ADVANCED docs page.
Most helpful comment
Have you set
breaks: true?