new util for whitespace-invariant html diffing