Skip to content

fix(toml): add standard \b and \f escape sequences to escape_toml_basic - #4294

Open
loulanyue wants to merge 1 commit into
github:mainfrom
loulanyue:fix/python-cli-exit-code-handling
Open

fix(toml): add standard \b and \f escape sequences to escape_toml_basic#4294
loulanyue wants to merge 1 commit into
github:mainfrom
loulanyue:fix/python-cli-exit-code-handling

Conversation

@loulanyue

Copy link
Copy Markdown

In src/specify_cli/_toml_string.py:

  • In the TOML v1.0 specification, \b (backspace) and \f (form feed) are standard short escape sequences.
  • Emits \b and \f explicitly instead of falling back to 4-digit unicode escapes.

@loulanyue
loulanyue requested a review from mnriem as a code owner August 24, 2026 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant