Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTML in Markdown disappearing when line breaks missing #318

Closed
johnpuddephatt opened this issue Jan 28, 2019 · 4 comments
Closed

HTML in Markdown disappearing when line breaks missing #318

johnpuddephatt opened this issue Jan 28, 2019 · 4 comments

Comments

@johnpuddephatt
Copy link

Having problems with HTML in Markdown not rendering properly if it isn't well formatted. Basically it seems like multiple sibling elements on one line is the problem – only the first element makes it through.

e.g. this is fine:

<h1>This works</h1>
<p>Some text</p>

but only the first tag from the below makes it through:

<h1>This doesn't</h1><p>Some text</p>
@damiani
Copy link
Contributor

damiani commented Feb 28, 2019

This appears to be an issue in Parsedown (erusev/parsedown-extra#44) dating back to 2015, which has been fixed but only in a beta release. I'll take a closer look and see if we would have any issues using that beta.

@cossssmin
Copy link

That beta would also make build-time code syntax highlighting possible (erusev/parsedown#568) 👍

@damiani
Copy link
Contributor

damiani commented Feb 28, 2019

Oooh that's slick. I recall having issues last year trying the 1.8 beta, but it's evolved a bit since the last time I looked into it.

@anthonyterrell
Copy link

Closed by #330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants