Closed sg2707 closed 9 months ago
Steps to reproduce:
Sanitise the following text data<text
Actual output: data
expected: data<text
data<text
This is by design, see #91 and #126. See https://github.com/mganss/HtmlSanitizer/wiki/Examples#ex4-encode-non-html-before-sanitizing on how to deal with non-HTML input.
Steps to reproduce:
Sanitise the following text data<text
Actual output: data
expected:
data<text