Firefox vs Chrome, MD two space vs GFM line breaks

github logo ・1 min read

Hi guys,

I submitted my first post yesterday. My markdown that I pasted in had line breaks because it makes it easier to adhere to the 80 char rule while looking nice in editor(vim). I use traditional 2 space rule for line breaks.

I submitted my post and it looked fine on Chrome and ugly in Firefox. The content had extra line breaks everywhere in FF. It looks like Firefox supports GFM style linebreaks while Chrome does not? Is that for real or am I missing something?


twitter logo DISCUSS
Classic DEV Post from Mar 28

JavaScript One-Liners That Make Me Excited

A collection of smart and zany solutions to some common, and quite uncommon, problems.

hong profile image
red rover, red rover, I call you over