fixed bug relating to formatting of html text and removed dangling reference in doc