Forum code tags issues



  • 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:

    1. joined into one line, with <br> tags inserted at line breaks.
    2. joined into one line, with each code line enclosed in <div> tags.
    3. 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.



  • On 23/02/2013 at 12:39, xxxxxxxx wrote:

    Got it -- in filling out the form to make a test acct, I finally noticed that there is an "Enable the WYSIWYG post editor" setting in the Forum Preferences section, near the bottom of your Edit Profile page. Setting that to Yes does the trick, at least on Win7/Firefox:

    line1  
    line2  
    

    So if anyone else should run into the same problem, hopefully this info will help.


Log in to reply