Package org.linkki.util
Class HtmlSanitizer
java.lang.Object
org.linkki.util.HtmlSanitizer
Deprecated.
Utility class for sanitizing HTML text.
-
Method Summary
-
Method Details
-
sanitize
Deprecated.Useorg.linkki.core.util.HtmlSanitizerinsteadEscapes all < and > symbols that do not belong to an allowed HTML tag. Allowed tags are p, div, span, br, b, strong, i, em and u.- Parameters:
text- the input text, may benull- Returns:
- the sanitized text, or
nullif the input isnull
-
org.linkki.core.util.HtmlSanitizerinstead