HtmlLaundry 1.0.0
See the version list below for details.
dotnet add package HtmlLaundry --version 1.0.0
NuGet\Install-Package HtmlLaundry -Version 1.0.0
<PackageReference Include="HtmlLaundry" Version="1.0.0" />
paket add HtmlLaundry --version 1.0.0
#r "nuget: HtmlLaundry, 1.0.0"
// Install HtmlLaundry as a Cake Addin
#addin nuget:?package=HtmlLaundry&version=1.0.0
// Install HtmlLaundry as a Cake Tool
#tool nuget:?package=HtmlLaundry&version=1.0.0
Cleans html with a whitelist for tags and attributes. Filters attributes with regex.
It has a Model Binder for MVC 3 that detects UIHint("html") attribute on model's properties and cleans those properies' value before it reaches the action method.
Html Laundry is a good tool to regularize posted in html. For example clean an html input pasted from Word.
Html Laundry can protect against XSS however I do not guarantee it will! It's not the main purpose. If you search for an XSS protector try AntiXSS instead.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
-
- WebActivator (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.