How to ignore whitespaces difference while taking htmldiff

hi
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
<html>
<body>
hi in body
</body>
</html>
and suppose I insert a space between the html an body tag like this

<html>

<body>
hi in body
</body>
</html>

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

ยทยทยท

--
Posted via http://www.ruby-forum.com/.