gfm icon indicating copy to clipboard operation
gfm copied to clipboard

Newlines are not handled correctly

Open mattbasta opened this issue 6 years ago • 0 comments

The input x\ny should produce the output <p>x\ny</p>, but it instead produces <p>x<br />\ny</p>. The inner <br /> is incorrect; a <br> should only be inserted if the previous line ends with two spaces, per the Github and Daring Fireball markdown specs.

mattbasta avatar Apr 05 '18 18:04 mattbasta