Fixed handling of links inside links.