Open interlab opened 8 years ago
You mean the "autolinking"? (i.e. you put the url in the message and it converts into a link?)
yes
Then it's one of those "impossible to fix bugs without rewriting a huge chunk of code" (and even then it wouldn't be that easy).
The opening bracket is recognized as starting bbc and the text is split at that point. The part before is autolinked, the part after is parsed in the next cycle of the loop. Determine if the [ is a starting tag or not beforehand is impossible at the moment, we can know only after the whole processing has been done, but when the processing is done, the previous chunk of text was already parsed (and the autolink created). So it's really impossible to fix... :disappointed:
maybe this bug?
Example:
http://habrahabr.ru/search/?target_type=posts&q=[perl6]&order_by=date
not parse this part: [perl6]&order_by=date