using System;
using Ganss.Xss;
var sut = new HtmlSanitizer();
var res = sut.Sanitize("<div style=\"white-space:wrap\"><p style=\"white-space:wrap\">yolo</p></div>");
Console.WriteLine(res);
Output:
<div><p>yolo</p></div>
using pkg version 8.0.865 the docs say it should allow CSS property white-space by default, but it gets stripped out.
Output:
using pkg version
8.0.865
the docs say it should allow CSS property white-space by default, but it gets stripped out.