Author

Topic: [code] blocks that spawn out of nowhere on my topic. (Read 401 times)

newbie
Activity: 2
Merit: 0
Thanks so much guys!  Grin
That was that problem.

I replaced [./img] blocks by [./code] blocks.

Problem solved! Smiley
copper member
Activity: 2996
Merit: 2374
You probably have a /code block somewhere that doesn't belong. If you have a /code block without an opening [.code] block then a [.code] block will be inserted at the beginning of your post message (it might be immidiatly after the last /code block or after some other criteria -- I have never tested this any more then what I described above). I assume that you have multiple extra /code blocks somewhere which might be exaggerating your problem.

Edit:It seems that I am having trouble replicating the issue you are describing, although there are some strange behaviors when there are multiple extra /code blocks. Maybe you can post a pastebin of the BB code you are trying to use prior to creating your thread along with the BB code that SMF "fixes" for you.
hero member
Activity: 574
Merit: 503
V2h5IGFyZSB5b3UgcmVhZGluZyB0aGlzPw==
Where's this thread? Kinda hard trying to figure out what went wrong without seeing it.
If you never created the thread (using other account or something) and only previewed it take a look at your drafts, it should be there.

One thing I know that can cause it is having extra [./code] tag.
newbie
Activity: 2
Merit: 0
I'm writing a very long post with many images and [.code] blocks.
But when I finished it, I got a [.code][.code] block that spawned at the top from out of nowhere.

That is the not the first time I created a thread, I know how these blocks works. I re-read my thread many times and I don't see where is the problem.
I tried to write random letters at the very beginning of my thread and after that, I saw [.code]randomword[.code].

This is very weird and the first time I saw that. How can I fix it ?

Thanks.

NB: I perfectly know that [.code] is written without a dot.
Jump to: