Skip to content

Fix markdown rendering in task descriptions#31

Open
Thanhdn1984 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Thanhdn1984:susan-fix-markdown-rendering-issue3
Open

Fix markdown rendering in task descriptions#31
Thanhdn1984 wants to merge 1 commit into
CodeBountyOrg:mainfrom
Thanhdn1984:susan-fix-markdown-rendering-issue3

Conversation

@Thanhdn1984
Copy link
Copy Markdown

Fixes #3.

Changes:

  • render safe inline markdown for task text: bold, italic, code, links
  • keep text inserted via textContent/createTextNode to avoid HTML injection
  • external links open safely with rel="noopener noreferrer"

Verification:

  • npm test: 5/5 passing
  • npm run lint: pass
  • git diff --check: pass

@codebounty-dev-bot
Copy link
Copy Markdown

⚠️ Attention Sponsor: This PR was submitted by @Thanhdn1984 who has not applied for this bounty (#3). Please verify if you want to consider this contribution.

👋 Hey @Thanhdn1984: This issue has a bounty on CodeBounty! To be eligible for the reward, please sign up on CodeBounty and apply for this bounty. If you apply, your PR will be automatically associated with your application.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix markdown rendering in task descriptions

1 participant