Unexpected output using theme customizer

One ootion is that the HTML that you generate is broken and that is the reason something that should have been an html attribute is displayed.

Another is that $this->link() echos instead for returning a value.