Fixed non-space issue when parsing html.