When I quote like this:
[quote=http://hybrid-piloten.de]This is the quote.[/quote]
...I can't make a second quote in the same post. :o
Modify my answer #1 to see the correct bbc. Same error here.
Since we are talking about quotes, some more details are necessary. ;)
- Quick reply or full post page?
- if quick reply, simple textarea or full editor?
- if full editor (either quick reply or post page), WYSIWYG or non-WYSIWYG?
Full post page. Non-WYSIWYG editor.
Okay... I'm slow this morning, now I got what the problem is... :-[
It's not a bug, it's a feature? ;)
Oddity... the above doesn't work in preview, but works "somehow" (the url in the first quote is not linked) in a real post.
@Spuds any idea? O:-)
The whole thing acts weird. :o Try switching between WYSIWYG- and non-WYSIWYG editor. Try to save a post, edit it again, change the bbc (it is now [quote author=http...] instead of [quote=http...] as it was before editing the post). You can get a second quote bbc if the url in the first quote doesn't work with a link to the page. It acts strange and not traceable at first sight.
hmm... at least a pattern is kind of emerging.
Well, we are already late with 1.0.3, we may fix that one as well if it doesn't involve too many oddities...
Its something to do with the recursive call and the disabled cache values.
In parse, when it working on parsed_equals content quotes, it hits the area that starts with
which will call parse_bbc to only parse the
tags that may be used in an author name. So thats all cool ...
But that static $disabled gets updated to disable all other tags except those that were in the parsed_tags_allowed, and since its static all points after that seem to be a problem. You can prove this by commenting out the static $disabled but I think the issue is in the
section. Could use some more eyes on that.
ETA: I'm thinking that static is useless since we have that mini cache, maybe that should be static $parse_tag_cache = array(); instead?
Okay, give me a couple of years to try to understand again parse_bbc. LOL
I'll try to have a look at it tomorrow (or the day after).
LOL ... no one will ever understand parse_bbc, its an enigma and must remain so :P
I think the fix is to change static $disabled to static $parse_tag_cache but another set of eyes on is a good thing!
Now it appears to work fine! :D
We must be running 1.03 :D
I did an update today. O:-)