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.
Install-Package MarkupSanitizer -Version 188.8.131.52
dotnet add package MarkupSanitizer --version 184.108.40.206
<PackageReference Include="MarkupSanitizer" Version="220.127.116.11" />
paket add MarkupSanitizer --version 18.104.22.168
This package has no dependencies.