Skip to main content
MarkupSanitizer package icon

MarkupSanitizer

Takes untrusted (X)HTML and massages it into real, trusted XHTML. While plenty of effort goes into preserving the original intent, markup validity and safety is the first priority. It's particularly useful with content management systems where users are in control of markup, but you want to target XHTML1.1.

Total Downloads
10.6K
10,567
Published
Aug 2, 2011
Latest stable version

Install

.NET CLI
dotnet add package MarkupSanitizer --version 1.0.0.1
Package Manager Console
Install-Package MarkupSanitizer -Version 1.0.0.1
PackageReference
<PackageReference Include="MarkupSanitizer" Version="1.0.0.1" />

Frameworks

No framework metadata available.

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.

No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.