separated html table writer\added doc to remove_empty_lines