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
{{ message }}
Repository navigation
setup: hook scripts serialized as single escaped line, losing multiline formatting #21
src/config/ser.rs — toml_quoted() escapes \n as \\n, always producing a single-line TOML basic string regardless of whether the value contains newlines. The to_toml_with_comments() method uses this for all hook values.
Expected Behavior
When a hook script value contains newlines, it should be written as a TOML multiline literal or multiline basic string so the file remains human-readable and editable, e.g.:
In toml_quoted (or in the call site), detect when the value contains \n and emit a TOML multiline basic string ("""...""") instead of a single-line basic string.
Activity
github-actions commentedon Feb 23, 2026
A workspace is ready for this issue.
Powered by Worktree · Install
chore: remove centy issue #21 (moved to GitHub issue #22)
fix: preserve multiline hook scripts as TOML triple-quoted strings
chore: add issue #21 — macOS URL scheme handler lost after reboot
chore: add centy issue #21 for Developer ID signing
chore(centy): close issue #21 - multiline hook scripts fixed in PR #23
Merge pull request #36 from worktree-io/issue-21