mirror of
https://github.com/penpot/penpot.git
synced 2026-11-27 05:10:32 +00:00
The legacy editor writes the attrs it gets into the data of an empty paragraph, nil values included, so turning off a text decoration there leaves :text-decoration nil. finalize-editor-state copied that data into the shape content as it was, the only commit path that skipped ensure-valid-text-content, and the backend rejected the shape. Build the content with a helper that runs it, shared by both renderer branches. Closes #13252 AI-assisted-by: claude-opus-5-5