Phorum / Core

The core of Phorum
http://www.phorum.org
68 stars 32 forks source link

Bug in the BBCode system #751

Closed Phorum closed 13 years ago

Phorum commented 13 years ago

I have noticed a bug in the Phorum BBcode System. I don't know whether a module or Phorum itself causes this problem, so this section seemed more appropriate for me.

If you give a space after an URL, Phorum does not htmlize BBCode tags from that point.

It is always better to give some examples:

{{{

[url=http://google.com]google[/url] [b]test[/b] [i]italic test[/i] [url=http://www.phorum.org ]phorum[/url] [url=http://google.com]google[/url] [b]test[/b] [i]italic test[/i]

}}}

If you test these tags in the phorum, you will see the problem.

Reported by: serdar Imported from TRAC: http://trac.phorum.org/ticket/853

Phorum commented 13 years ago

I believe this is by design. That is not a valid bbcode tag.

By: brian

Phorum commented 13 years ago

It is by design that the url tag is wrecked here and I wouldn't mind if that one wouldn't render. It's not fully by design that the other tags are no longer recognized. I would have expected the followup tags to work.

Not a high priority, but I'll take a look at the parser to see if this is an easy one to handle.

By: mmakaay

Phorum commented 13 years ago

oops, did not see the total breakage.

By: brian

Phorum commented 13 years ago

lol, hard too notice, I admit ;-)

By: mmakaay

Phorum commented 13 years ago

Fixed in [4347].

By: mmakaay