The new code is simpler than the old, and should be more robust in the face of dubious syntax. All unit tests pass, and Rob's recent files import correctly. Still, more real-world testing is required. Please report any problems immediately.
Edward P.S. The code that handles "<", "</", ">" and "/>" has changed as follows: 1. The stack of open tags is now "stateless". That is, it contains only tags. 2. The stack now contains *all* open tags, including void tags and tags not in @data import_html_tags. The new code completely ignores ">" tags except when the top of the stack is a void tag. This is an important simplification. It should allow more robust error checking. We shall see... EKR -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to this group, send email to leo-editor@googlegroups.com. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.