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

Missing linebreaks between block-level Markdown and block-level HTML elements #3

Closed
bergie opened this issue Aug 1, 2014 · 2 comments

Comments

@bergie
Copy link
Contributor

bergie commented Aug 1, 2014

Say, I have a document like:

<h1>Foo</h1>
<iframe src="bar.html"></iframe>

What upndown produces is:

# Foo<iframe src="bar.html"></iframe>

Instead of the expected:

# Foo
<iframe src="bar.html"></iframe>
@bergie
Copy link
Contributor Author

bergie commented Aug 1, 2014

Same also happens with:

<blockquote>Foo</blockquote><img src="image.jpg">

Which results in:

> Foo![](image.jpg)

Instead of:

> Foo

![](image.jpg)

bergie added a commit to bergie/upndown that referenced this issue Aug 1, 2014
netgusto pushed a commit that referenced this issue Aug 5, 2014
netgusto pushed a commit that referenced this issue Aug 5, 2014
@netgusto
Copy link
Owner

netgusto commented Aug 5, 2014

Should be corrected by 00c7411 in master; could you confirm ?

Also, i fixed the fixture html/quote-image.md (expected image was not markdown)

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

2 participants