fix(tui): prevent duplicate URL display for autolinked emails (#888)
Autolinked emails like user@example.com were rendered as 'user@example.com (mailto:user@example.com)' because the comparison token.text === token.href failed (text lacks mailto: prefix). Now strips mailto: prefix before comparing, so autolinked emails display without redundant URL in parentheses.
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
|
||||
- `codeBlockIndent` property on `MarkdownTheme` to customize code block content indentation (default: 2 spaces)
|
||||
|
||||
### Fixed
|
||||
|
||||
- Autolinked emails no longer display redundant `(mailto:...)` suffix in markdown output
|
||||
|
||||
## [0.49.2] - 2026-01-19
|
||||
|
||||
## [0.49.1] - 2026-01-18
|
||||
|
||||
Reference in New Issue
Block a user