public static SanitizedContent cleanHtml ( String value , Collection < ? extends OptionalSafeTag > optionalSafeTags ) { return cleanHtml ( value , null , optionalSafeTags ) ; }
Normalizes the input HTML while preserving safe tags . The content directionality is unknown .