Better fix for markdown link bug