On Wed, Oct 26, 2011 at 10:39 AM, Edward K. Ream <[email protected]> wrote:

> Leo's import code (used by @auto) does not handle single-line nodes
> like <nodeB/> properly.  I'll fix this today.

Rev 4663 fixes the problem **provided** every single-line node ends in
a newline.

If a single-line node *doesn't* end in a newline the generated node
will insert a newline (all nodes end in a newline these days) and that
will confuse the importer's checking code.

It would be possible to hack the checking code to handle this case,
but I would prefer not to do that: the checking code is surprisingly
difficult.

Please let me know how the changes work for you.

All unit tests pass, including a new unit test for this bug.

Edward

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

Reply via email to