formatting and fixing broken link escaping paren