sanitize-html

Sanitizes HTML content based on specified rules, allowing you to control which tags and attributes are permitted. This package provides a node for n8n that transforms HTML by removing potentially harmful or unwanted elements. It helps ensure that the HTML

Package Information

Released: 3/7/2025
Downloads: 136 weekly / 351 monthly
Latest Version: 1.1.1
Author: mmuenker

Documentation

Sanitizes HTML content based on specified rules, allowing you to control which tags and attributes are permitted. This package provides a node for n8n that transforms HTML by removing potentially harmful or unwanted elements. It helps ensure that the HTML is safe and conforms to your desired standards.

npm version
commitizen friendly
styled with prettier
Libraries.io dependency status for latest release, scoped npm package
npm
NPM

Installation

Add the package to your workspace:

yarn add @rxap/n8n-nodes-sanitize-html

Install peer dependencies:

yarn add n8n-workflow 

Execute the init generator:

yarn nx g @rxap/n8n-nodes-sanitize-html:init

Generators

init

Initialize the package in the workspace

nx g @rxap/n8n-nodes-sanitize-html:init

Discussion