How to ignore whitespaces difference while taking htmldiff

I want to know how can I ignore the white spaces which too get into
account while taking the difference between the two html

I mean if I have an html like this

hi in body and suppose I insert a space between the html an body tag like this hi in body

then that white space is also consider as a difference which is true
but I want only those differences where certian text is changed or added

that mean i want to ignore whitespaces differences

Any Idea

Thank Anyway