some changes when parse the html, user can passing html string as parameter if html string already parsed before