1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.1 WYSIWYG appending weird BB code / whitespace to any post where 'edit' is clicked.

Discussion in 'Troubleshooting and Problems' started by lasertits, Jan 14, 2012.

  1. lasertits

    lasertits Active Member

    Whenever I hit 'edit' on a post and then hit SAVE (without changing anything in the post), it adds a bunch of white space to the bottom of the post. If I switch to the BB Code editor, I can see it's appending the following to any post that someone hits 'edit' on, even if they don't change the post or save anything. Here's a post by a member who only said 'SHAWEET':

    [​IMG]

    Code:
    [COLOR=#ffffcc] [/COLOR]
    [B][/B]
    [COLOR=springgreen] [/COLOR]
    The only difference if they DON'T save it, is it won't add whitespace. You can hit 'edit', then go straight to the BB Code view, and the above code will be there. It's as if as soon as someone hits 'edit' even if you don't do anything to the post, the code gets added, and thus if you SAVE it, it adds the whitespace, and if you don't save it it won't add the whitespace.

    Testing it here on XenForo.com and it isn't happening.

    Anyone know what's causing this? It's doing it on both a fresh 1.1 install and my current production install. :confused:
     
  2. Mike

    Mike XenForo Developer Staff Member

    See if you can reproduce it on the default style and/or with add-ons disabled.
     
  3. lasertits

    lasertits Active Member

    EDIT: Resolved below...

    Hi Mike,

    I've switched to the Default style on my fresh 1.1 install with no addons:

    [​IMG]

    Code is still being appended for some reason. Also made a new post and hit edit on it immediately after just to see if it was any different, same deal:

    [​IMG]

    I'm going to completely re-install XF on a fresh database and see if it's still happening, perhaps something happened during the initial setup.

    Edit: Just did a fresh install with a fresh database, made 1 thread / post - hit edit, and the weird BB code is still there, as seen above.
     
  4. lasertits

    lasertits Active Member

    Ok, this is odd. It appears to only be occurring in Firefox.

    I opened the fresh install in Chrome:
    [​IMG]

    but the SAME post, in Firefox 9.0.1:
    [​IMG]

    Might be on my end... I'm going to try disabling all firefox addons and see if that makes any difference.

    Edit: Disabled all addons and the above BB Code is no longer appended. The culprit was GreaseMonkey and a script to check if links are online, which would explain the RED color (for offline) and springGREEN (for online).

    Sorry about this, lesson learned - always check multiple browsers before posting, something I usually do. Ah well, we all have our brain farts. :oops:
     
    Digital Doctor likes this.
  5. Digital Doctor

    Digital Doctor Well-Known Member

    Firefox 9.x really has lots of problems.
    Mozilla is dropping the ball.
     
  6. Digital Doctor

    Digital Doctor Well-Known Member

    Try Firefox 15 beta:
    [​IMG]
     

Share This Page