Skip to content

Harden thread comment markdown rendering#136

Merged
mgks merged 1 commit into
docmd-io:mainfrom
chocolatecake777:codex/thread-comment-rendering
May 18, 2026
Merged

Harden thread comment markdown rendering#136
mgks merged 1 commit into
docmd-io:mainfrom
chocolatecake777:codex/thread-comment-rendering

Conversation

@chocolatecake777
Copy link
Copy Markdown
Contributor

Summary

  • render thread comment bodies through a scoped path with raw HTML disabled
  • preserve Markdown formatting inside comments while escaping raw HTML
  • keep the client preview on the local Markdown fallback instead of delegating comment text to the page-level compiler

Tests

  • pnpm --filter @docmd/plugin-threads... build
  • node packages/plugins/threads/tests/containers.test.js

mgks added a commit that referenced this pull request May 18, 2026
- render thread comment bodies through a scoped path with raw HTML disabled
- preserve Markdown formatting inside comments while escaping raw HTML
- keep the client preview on the local Markdown fallback
@mgks mgks marked this pull request as ready for review May 18, 2026 14:51
@mgks mgks merged commit 8bf7539 into docmd-io:main May 18, 2026
1 check passed
@mgks
Copy link
Copy Markdown
Member

mgks commented May 18, 2026

Thank you for the contribution! We've merged your changes and they will be included in the upcoming 0.8.4 release.

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