Link generation is done by HtmlHelper::link() added escape and escapeTitle options.