Hi,
Is there a way to sanitize something like If b is 0 and a is 1 then b<a ? the sanitizer recognize <a as an html tag, and it looks like it's adding the closing tag and then it's going through the sanitizer, so something like
String entryText = "If b is 0 and a is 1 then b<a";
Policy policy = new HtmlPolicyBuilder().toFactory();
String result = policy.sanitize(entryText);
will return If b is 0 and a is 1 then b
I'm expecting If b is 0 and a is 1 then b<a
(note that if the entry text is If b is 0 and a is 1 then b< a then the result is as expected If b is 0 and a is 1 then b< a)
Hi, Is there a way to sanitize something like
If b is 0 and a is 1 then b<a
? the sanitizer recognize<a
as an html tag, and it looks like it's adding the closing tag and then it's going through the sanitizer, so something likewill return
If b is 0 and a is 1 then b
I'm expectingIf b is 0 and a is 1 then b<a
(note that if the entry text is
If b is 0 and a is 1 then b< a
then the result is as expectedIf b is 0 and a is 1 then b< a
)