Skip to content

Instantly share code, notes, and snippets.

@RyanRoberts
Created October 15, 2012 08:40
Show Gist options
  • Save RyanRoberts/3891481 to your computer and use it in GitHub Desktop.
Save RyanRoberts/3891481 to your computer and use it in GitHub Desktop.
Allow only one break tag. Helpful for times you have little control over the HTML being output (such as client using a poorly made text editor).
br ~ br,
* br:only-child {
display: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment