GitHub stylesheet includes style that breaks multiple <br> tags

's Avatar

brad

05 Oct, 2011 09:33 PM

When the Github stylesheet is applied, the definition of the br+br style in github.css:54-59 causes multiple line breaks to be ignored. So, for example, the following markdown will break:

John Doe
123 Any Dr
Anytown, FL 12345

Note the trailing spaces (two of them). This generates a
at the end of each line, but the br+br style causes them to collapse.

  1. Support Staff 1 Posted by Brett on 05 Oct, 2011 10:36 PM

    Brett's Avatar

    Thanks for the heads up. I won't be able to fix this in time for the next release (already submitted), but will get a fix in place and include it in an incremental release shortly after 1.3 is out.

  2. Support Staff 2 Posted by Brett on 15 Oct, 2011 03:26 AM

    Brett's Avatar

    This is fixed in 1.3.1, should be released soon (if all goes well).

  3. Brett closed this discussion on 15 Oct, 2011 03:26 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac