getTypoLink() must return a URL with plain "&". It is *ALWAYS* on output you should convert & to &s; So, in your code you do: <a href="'.htmlspecialchars($this->cObj->getTypoLink()).'" or whatever... - kasper