[lxml-dev] Strange problem with lxml.html.diff

James Zhu james at yaean.com
Fri Mar 14 09:03:18 CET 2008


On 3/14/08, Ian Bicking <ianb at colorstudy.com> wrote:
> (snipped)
>  It looks like there's some code in htmldiff that drops empty tags,
>  ignoring their .tail. (snipped)

Yes, you're right. I looked at the code and made some minor changes.
Now it seems to work fine. But I don't know whether there'll be any
side effects. I'm attaching a patch FYI.

James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: htmldiff.patch
Type: application/octet-stream
Size: 1647 bytes
Desc: not available
Url : http://codespeak.net/pipermail/lxml-dev/attachments/20080314/adc6391c/attachment.obj 


More information about the lxml-dev mailing list