You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Separated top-level body-block-multipart from nested body-block-multipart-nested so closing delimiters (--boundary--) inside nested containers (multipart/mixed → multipart/related → multipart/alternative) cleanly pop one stack level instead of leaking duplicate meta.block.body.eml scopes across the remainder of the message (#26).
Added a dedicated body-epilogue context for content following the top-level closing boundary so epilogue lines starting with -- cannot falsely re-enter MIME header parsing (#26).
Added pop-before-boundary guards to part-level header contexts (expect-body-instructions*) so empty or headerless MIME parts cleanly yield back to their enclosing multipart container (#26).
RFC 2046 Boundary Character & Escape Consistency (email.sublime-syntax, email_plugin.py):
Expanded boundary_name to support full RFC 2046 §5.1.1 bcharsnospace characters (including ., +, /, ', (, ), ,) with a linear-time disjoint pattern and optional trailing linear whitespace ([ \t]*), fixing boundary recognition for Outlook and JavaMail/SendGrid dotted delimiters (e.g., ----=_NextPart_000_0001_01D6A7B2.3C4D5E60) (#26).
Made Content-Type: multipart/* detection case-insensitive per RFC 2045 §5.1 (e.g., Multipart/Related) (#26).
Unified all embedded payload escape: lookaheads (html, html-quoted-printable, xml, rfc822, diff) and pop-before-boundary behind a shared boundary_lookahead variable, eliminating false escapes on punctuation-only dividers like ---- (#26).
Updated get_mime_part_headers and is_boundary_line in email_plugin.py to use message-declared boundaries and RFC 2046 fallback boundary matching across nested containers (#26).