Skip to content

PM-3342 Fix markdown rendering#7173

Merged
himaniraghav3 merged 1 commit intodevelopfrom
PM-3342
Feb 10, 2026
Merged

PM-3342 Fix markdown rendering#7173
himaniraghav3 merged 1 commit intodevelopfrom
PM-3342

Conversation

@himaniraghav3
Copy link
Collaborator

https://topcoder.atlassian.net/browse/PM-3342

Fixes challenge specs markdown rendering

styleName="rawHtml"
/>
>
<MarkdownRenderer markdown={challenge.description} />

Choose a reason for hiding this comment

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

[❗❗ security]
Ensure that the MarkdownRenderer component properly sanitizes the markdown input to prevent XSS vulnerabilities. This is crucial as it replaces the previous dangerouslySetInnerHTML approach, which had explicit warnings about potential security risks.

@himaniraghav3 himaniraghav3 merged commit 357800f into develop Feb 10, 2026
8 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.

1 participant