Skip to content

Preserve literal hashes in plain-text summaries - #158

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
RowletCC:fix/plain-text-hash
Sep 21, 2026
Merged

ralyodio merged 1 commit into
profullstack:masterfrom
RowletCC:fix/plain-text-hash

Conversation

@RowletCC

Copy link
Copy Markdown
Contributor

Plain-text summaries currently replace every # with a space. As a result, C# and F# becomes C and F, #42 loses its reference marker, and https://example.com/guide#part becomes a different string. The shared toPlainText function feeds metadata descriptions, feed text, and TUI descriptions.

Remove ATX heading markers at line boundaries instead, including optional closing hashes and headings within blockquotes. Preserve hashes that are part of ordinary text. Other inline-markup stripping and truncation behavior remain unchanged.

Validation: the unchanged upstream fails four new regressions and passes two controls. All six new tests and the existing plain-text summary test pass after the fix (7 total). Build, TypeScript no-emit checks, and Prettier checks pass. Cases cover language names, issue references, hashtags, URL fragments, heading syntax, quoted headings, empty headings, and excluded fenced examples.

Submitted under the published $0.25 USD-equivalent reward per valid bug-fix PR, using the existing application and settlement conversation. Settlement remains native SOL on Solana mainnet, subject to acceptance and confirmation of the exact token amount. No reward is claimed as received.

@ralyodio
ralyodio merged commit 13cd373 into profullstack:master Sep 21, 2026
4 checks passed
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.

2 participants