On Nov 11, 11:49 pm, "Edward K. Ream" <[email protected]> wrote: > The code at rev 4776 imports the infamous data.html file correctly. > All unit tests pass, but there is the potential for unintended > consequences. As always, please report any problems immediately.
I have noticed a problem: there's still some nodes with wrong content in the body. One of them is easy to spot if you search the outline for string '<td width="619">' after importing data.html and see the last match. This is the beginning of a 'tr' node. Perhaps you could add a test that looks for '<TAGNAME' at the beginning and '/TAGNAME>' at the end of each node body. It shall be case-agnostic, at least for HTML tags and hopefully will catch more edge cases like this. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
