-
-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Labels
Description
Input
First line
<https://example.com/second-line-url>
Third line <https://example.com/with-an-url>Note: 2 trailing space characters after First line and /second-line-url>
Current Output
<p>First line
<a href="https://example.com/second-line-url">https://example.com/second-line-url</a><br />
Third line <a href="https://example.com/with-an-url">https://example.com/with-an-url</a></p>Expected Output
<p>First line<br />
<a href="https://example.com/second-line-url">https://example.com/second-line-url</a><br />
Third line <a href="https://example.com/with-an-url">https://example.com/with-an-url</a></p>Commandline (in GNU Bash)
kramdown\
--input kramdown\
--output html\
<kramdown-issue-461-reproduction-sample.markdown\
>kramdown-issue-461-reproduction-sample.htmlAdditional Info
Here's the output when --input is set to GFM
<p>First line<br />
<a href="https://example.com/second-line-url">https://example.com/second-line-url</a> <br />
Third line <a href="https://example.com/with-an-url">https://example.com/with-an-url</a></p>Notice the re-appeared expected line break at line 1 and redundant 2 spaces before the line break of line 2
Kramdown
1.15.0 from RubyGems
Ruby
2.3.1p112 (2016-04-26) from Ubuntu 16.04 archive
Reactions are currently unavailable