Fixed URL problem with trailing ]

When you have URLs embedded in text, it's ambiguous as to the end of a URL (unless it's a space). We do have some special casing for ), for example (as it can legitimately be in URLs).

I will move this to bugs, but I'm unsure what action will be possible at this time. As it's ambiguous, the only definitive fix would be to use a less ambiguous syntax.
 
I've fixed this now.

[ and ], amongst a few others, are on a list of "unsafe" URL characters (without being escaped), so most usages should escape them.
 
Top Bottom