moved " " to "&nbsp;" renaming to getHTML method