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

There are unnecessary linebreaks before closing tags #44

Open
takahisa opened this issue Jul 11, 2015 · 1 comment
Open

There are unnecessary linebreaks before closing tags #44

takahisa opened this issue Jul 11, 2015 · 1 comment

Comments

@takahisa
Copy link

When I convert such as the following markdown document to HTML.

- item1
- item2

I had expected the results shown in (A), but the actual output like shown in (B).

(A)
<li>item1</li><li>item2</li>

(B)
<li>item1
</li><li>item2
</li>

Is this the correct behavior? I want to send a pull request about that removing this line breaks. Is it OK?

@tristanjuricek
Copy link
Owner

In some random cases, I tried to maintain consistency with the original Markdown.rb script, which had a lot of quirks like this. I'm not sure this is exactly one of those quirks, but it might have been. But I also don't really like the weird behaviors of the original script, though.

Feel free to send the pull request.

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