Repository navigation
Labels
A-FormatterArea: formatterL-MarkdownLanguage: MarkdownS-Bug-confirmedStatus: report has been confirmed as a valid bug
Description
Inside a blockquote, a code span that wraps onto the next > line loses the space after its closing backtick, and the next code span loses the space before it, so the words between them run into both spans.
Input:
> The session logs `Error: Unsupported item type:
> agent_config_update` thrown by `livekitItemToOpenAIItem` via
> `createChatCtxUpdateEvents`.After biome format --write (one pass):
> The session logs `Error: Unsupported item type:
> agent_config_update`thrown by`livekitItemToOpenAIItem` via
> `createChatCtxUpdateEvents`.Expected: the text is unchanged: agent_config_update` thrown by `livekitItemToOpenAIItem` keeps both spaces. Outside a blockquote the same paragraph keeps them.
Found while formatting a documentation repository with Biome 2.6.6's Markdown formatter (enabled by default since 2.6.2); the reproduction above is minimal and uses the default configuration.
Environment information
Details
CLI:
Version: 2.6.6
Color support: true
Platform:
CPU Architecture: x86_64
OS: windows
Environment:
BIOME_DISTRIBUTION: npm
BIOME_LOG_FILE: unset
BIOME_LOG_PATH: unset
BIOME_LOG_PREFIX_NAME: unset
BIOME_LOG_LEVEL: unset
BIOME_LOG_KIND: unset
BIOME_CONFIG_PATH: unset
BIOME_THREADS: unset
BIOME_WATCHER_KIND: unset
BIOME_WATCHER_POLLING_INTERVAL: unset
BIOME_BINARY: unset
RUST_BACKTRACE: unset
NO_COLOR: unset
TERM: xterm-256color
JS_RUNTIME_VERSION: v24.21.0
JS_RUNTIME_NAME: node
NODE_PACKAGE_MANAGER: unset
Biome Configuration:
Status: Loaded successfully.
Path: biome.json
Formatter enabled: true
Linter enabled: true
Assist enabled: true
VCS enabled: false
HTML full support enabled: unset
Formatter:
Format with errors: unset
Indent style: unset
Indent width: unset
Line ending: unset
Line width: unset
Attribute position: unset
Bracket spacing: unset
Includes: unsetConfiguration
{}Playground link
Code of Conduct
- I agree to follow Biome's Code of Conduct
Metadata
Metadata
Assignees
Labels
A-FormatterArea: formatterL-MarkdownLanguage: MarkdownS-Bug-confirmedStatus: report has been confirmed as a valid bug
Activity
chore(deps): update dependency @biomejs/biome to v2.6.7 (#803)
Update dependency @biomejs/biome to v2.6.7 (#2333)
Update dependency @biomejs/biome to v2.6.7 (#75)
Update dependency @biomejs/biome to v2.6.7 (#34)