Fix some bad link markup.
Fix broken link in generated text.