HTML list item spacing


(Dean Taylor) #1

The following is a quirk of the HTML / Markdown / BBCode support right?

###Raw text

<ul>
	<li>Swimming</li>
	<li>Miniature Train</li>
	<li>Orbz</li>
	<li>Go Karts</li>
	<li>Fishing</li>
	<li>Funfair</li>
	<li>Pubs</li>
	<li>and more</li>
</ul>

###Expected Output

  • Swimming
  • Miniature Train
  • Orbz
  • Go Karts
  • Fishing
  • Funfair
  • Pubs
  • and more

###Actual Output

  • Swimming
  • Miniature Train
  • Orbz
  • Go Karts
  • Fishing
  • Funfair
  • Pubs
  • and more

###Screenshot


(Jeff Atwood) #2

If I had to guess, related to our “treat CRLF as newline in Markdown” setting.

If this is very important to you, you could turn that off in site settings, but users will get confused in my experience.


(Dean Taylor) #3

I’ve had to paste large chunks of HTML into posts…
… to get that to work I’ve used a HTML Beautifier to with options set to remove additional white space between tags.

EDIT: Thanks for the confirmation @codinghorror, feel free to close this out.


(Régis Hanol) #4