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

Parsedown ignores multiple line breaks inside pre/code #727

Closed
gabrielbarros opened this issue Sep 17, 2019 · 1 comment
Closed

Parsedown ignores multiple line breaks inside pre/code #727

gabrielbarros opened this issue Sep 17, 2019 · 1 comment
Projects
Milestone

Comments

@gabrielbarros
Copy link

gabrielbarros commented Sep 17, 2019

For example:

This is a test

    function test1() {

    }





    function test2() {

    }

Expected output:

expected

Given output:

result

@aidantwoods aidantwoods added this to the 2.0.0 milestone Oct 16, 2021
@aidantwoods aidantwoods added this to To do in 2.0.0 via automation Oct 16, 2021
@aidantwoods aidantwoods moved this from To do to Done in 2.0.0 Oct 16, 2021
@aidantwoods
Copy link
Collaborator

Not yet released, but 2.0 will the number of line breaks that occurred properly (rather than just whether or not a line break occurred), so going to close this. This is also fixed in #610, and is fixed in the beta releases of 1.8.x (but this version won't be released in non-beta due to compatibility concerns with extensions).

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

No branches or pull requests

2 participants