Repository navigation
Fix false strikethrough from approximate values
Strikethrough in the TUI Markdown component, dashboard transcript (including thinking), and HTML session export now follows GitHub's GFM rules for the reported cases.
~7 percent vs ~12 percentstays literal instead of striking unrelated prose.- A tilde inside an inline code span cannot close strikethrough; the code span stays intact.
- Intentional
~~text~~,~text~, and intra-word strikes such as5~7 and 10~12still work. - The buddy speech bubble also keeps approximate-value tildes and code spans intact. Its existing lack of strikethrough styling is unchanged.
One markdown version across the built-in renderers
TUI, coding-agent, and dashboard dependencies use marked 18.2.0. The HTML export embeds the same version, with tests enforcing both a byte-identical vendored bundle and unchanged inlining into exported files.
Compatibility fixes
- TUI markdown and buddy speech strip terminal-driving control characters from raw source and numeric character references. This prevents references such as
from becoming terminal escape sequences. CR/CRLF becomes LF, tabs become three spaces, and newlines are preserved. @dreb/tuiexportssanitizeTerminalText()andmarkedTextToTerminal()for custom marked-based terminal renderers.- Ampersands next to numeric references render correctly in the terminal and export, without double-encoding.
- HTML exports render inline formatting in tight list items and escape text after inline raw
<code>,<kbd>, and<pre>tags correctly. - TUI indented code blocks, link-reference definitions, and deeply indented list continuations no longer add the extra rows covered by the regression tests. Dashboard thinking separators no longer introduce an extra gap.
Known limitations
- HTML exports are not sanitized viewers for untrusted sessions. Raw message HTML can run event handlers or hide later content in the same message; list items now share that existing passthrough behavior. Open only exports whose content you trust. This release does not add an HTML sanitizer or Content Security Policy.
- Mixed-indentation list continuations can still gain an internal blank row in the TUI. Some block types ending with blank lines also render a trailing row for callers that do not trim their text.
Validation
7,473 offline tests passed. Build, lint, type checks, workspace-link verification, and final PR CI passed. Dashboard screenshots regenerated byte-identical. Documentation now covers the strikethrough rules, terminal helpers, and HTML-export trust boundary.