[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

how to ignore whitespaces difference while taking htmldiff

Virendra Negi

5/26/2009 10:58:00 AM

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-....