mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-16 16:16:32 +03:00
`extract_original` split the wrapper's inner text on newlines and kept the first and last pieces, which are the line breaks around the original element inside `<div data-impeccable-variant="original">`. Every discard therefore left one empty line before and one after the restored element. `extract_variant` already trims those; the original now gets the same trim. Test writes a JSX wrapper to disk, discards, and checks the file byte for byte. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>