nuxt / nuxt/modules

Request for nuxt-sanitize-html

Open
#352 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.1k
Forks
354
Avg merge
10h 18m
Merged PRs (30d)
12

Description

nuxt-sanitize-html is a simple wrapper I created for sanitize-html

It allows one to sanitize HTML in template and script and define defaults in the config page.

This is necessary when using v-html as part of the XSS prevention

Please look into it. I'm not a Nuxt module pro but want to contribute 😄 👍

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the Nuxt modules repository structure and its existing module integrations, then compare the proposed nuxt-sanitize-html wrapper with the linked sanitize-html package. Define the module entry point, configuration behavior, and v-html use case before implementation; done should include documented support for sanitizing HTML and verification of the XSS-prevention behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxt, typescript
Domain
frontend, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.