Skip to content

Conversation

@emrysal
Copy link
Contributor

@emrysal emrysal commented Nov 19, 2025


Summary by cubic

Checkbox no longer converts markdown on the client; it renders pre-sanitized HTML (descriptionAsSafeHtml) directly. This reduces bundle size and improves performance.

Written for commit 7d504ab. Summary will update automatically on new commits.

@emrysal emrysal requested review from a team as code owners November 19, 2025 17:04
@keithwillcode keithwillcode added core area: core, team members only foundation labels Nov 19, 2025
)}
dangerouslySetInnerHTML={{
__html: markdownToSafeHTML(descriptionAsSafeHtml),
__html: descriptionAsSafeHtml,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure we have already converted markdown to html at this point

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this prop is only used in one place, which has already converted markdown to html - form builder.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Copy link
Member

@hariombalhara hariombalhara left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@hariombalhara approved this PR from Slack with Graphite

@Udit-takkar Udit-takkar enabled auto-merge (squash) November 19, 2025 17:40
@Udit-takkar Udit-takkar added this to the v6.0 milestone Nov 19, 2025
@github-actions
Copy link
Contributor

E2E results are ready!

@Udit-takkar Udit-takkar merged commit 6818806 into main Nov 19, 2025
86 of 89 checks passed
@Udit-takkar Udit-takkar deleted the chore/reduce-markdown-client-side-use branch November 19, 2025 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants