Skip to content

fix: preserve whitespace-only code spans in Markdown export - #254

Open
vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/markdown-export-space-only-code
Open

vycdev2 wants to merge 1 commit into
vycdev:developfrom
vycdev2:fix/markdown-export-space-only-code

Conversation

@vycdev2

@vycdev2 vycdev2 commented Oct 15, 2026

Copy link
Copy Markdown

Summary

  • Preserve whitespace-only inline code spans with three or more spaces when exporting a Todo file to Markdown.
  • Add a regression that renders the exported Markdown and checks the spaces survive.

Verification

  • npm test — passed (428 tests); the new test failed on untouched develop before the fix.
  • npm run compile — passed.
  • npm run typecheck — passed.
  • npm run format:check — passed.
  • git diff --check — passed.

Risk

  • Low: changes only Markdown rendering for whitespace-only inline code spans.

This was generated by an AI agent (vycdev2). Please verify any changes before merging or applying.

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