Tags: dchecks/diffengine
Tags
fingerprinting Added a _fingerprint function that will take the summary text and bleach out all html and remove all whitespace. The test for equality uses this function to determine if the page content has changed. Hopefully this will catch instances where whitespace is changing, and triggering an empty diff.
doublecheck htmldiff This commit includes an extra check in Entry.get_latest to make sure that the generated diff has either an <ins> or <del> in it. If it doesn't that means while the readability summaries are different the resulting diff didn't catch any changes. This can happen with <br> and other whitespace changes. This change also explicitly sets the coding on diffengine.__init__. Fixes DocNow#24
PreviousNext