tchen01 / monospace

display monospaced textblocks in facebook chat
MIT License
7 stars 2 forks source link

multiple lines do not work in facebook.js #16

Closed tchen01 closed 9 years ago

tchen01 commented 9 years ago

the large chat treats more than 2 consecutive line breaks the same and so the original number of breaks cannot be determined. The small chat comes out correctly but that means the line numbers do not match.

I do not see a way to tell how many linebreaks there should be without getting data from somewhere else.

If line numbers do not match then it might be confusing if they are used to talk about the code. I suggest making the small chat match with the large one.

tchen01 commented 9 years ago

At the moment I have updated facebook.js to treat multiple line breaks as a double line break so that the code will be rendered the same in both places.

jayelm commented 9 years ago

So...done