Topic: trouble with bbcode

Hi,

I got some problemes to add the bbcode code in my previous post here !

-->
The BBCode syntax in the message is incorrect. Missing end tag for \[code\].

Re: trouble with bbcode

That means you tried to post a piece of code and forgot to place [ / code ] at the end (without the spaces).

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: trouble with bbcode

Yes you should right  !!! I probably do a mistake on my previous test  sorry

4

Re: trouble with bbcode

Maybe not.

Rickard. Take a look at this post
http://punbb.org/forums/viewtopic.php?pid=39791#p39791

Now edit the post and put some text on a line above the code tags.

Re: trouble with bbcode

I encountered the same bug today.
I usually use the code tag to display some unparsed BB tag and I can't anymore.
You can reproduce the bug easily with this example:
Try to post this with the {} replaced by [], you can't anymore.

{code}Some code with some {code}code{/code} in it{/code}

Re: trouble with bbcode

That's not an error. "{code}Some code with some {code}code{/code} in it{/code}" has never been accepted.

The change in 1.2.5 is that {code} is not allowed within a code block. http://dev.punbb.org/changeset/161

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: trouble with bbcode

It also broke the code tag if you type a little bit before using it smile

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

8

Re: trouble with bbcode

Smartys wrote:

It also broke the code tag if you type a little bit before using it smile

Look 4 posts above.

Re: trouble with bbcode

I know Paul, the problems have been well documented by you and others tongue

http://fluxbb.org

Free PunBB Hosting - lots of mods, easy to customize

Re: trouble with bbcode

I'm on it.

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: trouble with bbcode

http://punbb.org/forums/viewtopic.php?pid=39852#p39852

"Programming is like sex: one mistake and you have to support it for the rest of your life."

Re: trouble with bbcode

It fixed it, thanks.