Fix extraneous characters in links generated

Links being generated are have extra characters in them which
causes the <a> tag to not close properly.

Change-Id: Ib7e9f7cf801b6830f338ab69c5431f2d68808140