Refactoring colose message utils.
Fix variable name bug.
Change html:undoc to append --compact option for showing line numbers.