Making XHTML compliant url's in Joomla

Either use

JFilterOutput:: linkXHTMLSafe ($string)

This method processes a string and replaces all instances of & with & in links only

or (probably better)

JRoute::_($string)

This one doesn't pass a full url, just a site local one

Tags: joomla