Solved issue of text not comming properly with spaces in html page