cwjohan / markdown-to-html

Command-line utility to convert Github Flavored Markdown to HTML.
MIT License
236 stars 86 forks source link

Line Breaks Misread as BR instead of Continuing the Paragraph #27

Closed rwxrob closed 6 years ago

rwxrob commented 6 years ago

https://github.github.com/gfm/#paragraphs

cwjohan commented 6 years ago

Rob, could you please give me more detail regarding where you see this. Many things would look wrong and would have been wrong for a very long time if this problem is more than some edge case. For example, are you running the command line utility? On which platform are you running? What is the input you are submitting (just a small sample)? Certainly, no code has been put in markdown-to-html to explicitly and purposely treat single line breaks as new paragraphs.

On Tue, Feb 20, 2018 at 5:00 PM, Rob Muhlestein notifications@github.com wrote:

https://github.github.com/gfm/#paragraphs

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cwjohan/markdown-to-html/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/AH5q3Hvzhc5xPh1WqxD8abw3gPKSqeakks5tW2rLgaJpZM4SM6zs .

cwjohan commented 6 years ago

In the test directory, the very first test in test.md tests exactly this case: that a single line break does not generate

. See github-markdown-ref.html and markdown-ref.html for example output based on test.md as input.

On Tue, Feb 20, 2018 at 5:50 PM, Craig Johannsen cwjohan@gmail.com wrote:

Rob, could you please give me more detail regarding where you see this. Many things would look wrong and would have been wrong for a very long time if this problem is more than some edge case. For example, are you running the command line utility? On which platform are you running? What is the input you are submitting (just a small sample)? Certainly, no code has been put in markdown-to-html to explicitly and purposely treat single line breaks as new paragraphs.

On Tue, Feb 20, 2018 at 5:00 PM, Rob Muhlestein notifications@github.com wrote:

https://github.github.com/gfm/#paragraphs

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cwjohan/markdown-to-html/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/AH5q3Hvzhc5xPh1WqxD8abw3gPKSqeakks5tW2rLgaJpZM4SM6zs .

rwxrob commented 6 years ago

​Sorry Craig, I've found pandoc does exactly what is expected (and faster). I've moved on.​

“Mr. Rob” Muhlestein /^(Founder|Facilitator|Janitor|C\w\w?O)$/ Content and community provide opportunity SkilStak Coding Arts https://skilstak.io rob@skilstak.com 704-310-6778 robs.io

On Tue, Feb 20, 2018 at 9:00 PM, Craig Johannsen notifications@github.com wrote:

In the test directory, the very first test in test.md tests exactly this case: that a single line break does not generate

. See github-markdown-ref.html and markdown-ref.html for example output based on test.md as input.

On Tue, Feb 20, 2018 at 5:50 PM, Craig Johannsen cwjohan@gmail.com wrote:

Rob, could you please give me more detail regarding where you see this. Many things would look wrong and would have been wrong for a very long time if this problem is more than some edge case. For example, are you running the command line utility? On which platform are you running? What is the input you are submitting (just a small sample)? Certainly, no code has been put in markdown-to-html to explicitly and purposely treat single line breaks as new paragraphs.

On Tue, Feb 20, 2018 at 5:00 PM, Rob Muhlestein < notifications@github.com> wrote:

https://github.github.com/gfm/#paragraphs

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cwjohan/markdown-to-html/issues/27, or mute the thread https://github.com/notifications/unsubscribe-auth/ AH5q3Hvzhc5xPh1WqxD8abw3gPKSqeakks5tW2rLgaJpZM4SM6zs .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cwjohan/markdown-to-html/issues/27#issuecomment-367188465, or mute the thread https://github.com/notifications/unsubscribe-auth/ADk0yzkWkCYo21X7hK1hsI567PEhccYiks5tW3i4gaJpZM4SM6zs .

cwjohan commented 6 years ago

I responded within one hour with some counter evidence and there is no follow up info from the person who reported the problem. Closing this issue.

rwxrob commented 6 years ago

Oh it's broken, you will just need to confirm it yourself.

“Mr. Rob” Muhlestein /^(Founder|Facilitator|Janitor|C\w\w?O)$/ Content and community provide opportunity SkilStak Coding Arts https://skilstak.io rob@skilstak.com 704-310-6778 robs.io

On Wed, Feb 21, 2018 at 12:21 AM, Craig Johannsen notifications@github.com wrote:

I responded within one hour with some counter evidence and there is no follow up info from the person who reported the problem. Closing this issue.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cwjohan/markdown-to-html/issues/27#issuecomment-367217060, or mute the thread https://github.com/notifications/unsubscribe-auth/ADk0y6HlV0B4bjq764kOsal14CHo-gwuks5tW6fNgaJpZM4SM6zs .