There are 2 radeox filters that output links, the URLFIlter and LinkFilter. The URLFilter recognizes textual links inside the document, and the LinkFilter processes wiki links.
In the following example:
First the LinkFilter is executed, resulting in:
Then the URLFilter is executed, resulting in:
The URLFilter just checks that the URL isn't quoted, as an attribute, thus allowing the example above.
The solution is a better matching pattern, which prevents such situations.