On 23/02/2013 at 12:23, xxxxxxxx wrote:
For as long as I've been posting here, my code has always been double-spaced when I use the bbcode code tags. Not a big deal, but a little annoying. I've searched to see if this has been mentioned, but did not come up with anything. Looking at the html generated for various posters in another thread, though, it was interesting to notice that actually, three different styles of html appear to be generated, depending on some unknown factor, where a given instance may be:
- joined into one line, with <br> tags inserted at line breaks.
- joined into one line, with each code line enclosed in <div> tags.
- not joined, and containing both line breaks and <br /> (not <br>) tags.
( heh, this list was also double-spaced, until I manually collapsed it into a single line )
Code that I post falls into the third case. It happens the same regardless which browser I use (using Win7 now, but previously XP, then Vista, and also just checked using Safari on my OSX 10.8.2 machine), so it seems like it must be tied to my user account. I'd be interested to see what happens when other posters duplicate the following simple example, using code tags:
line 1
line 2
line 3
After posting this, I am going to try making a new user account, to see if it works differently.