Fornat text with sanitized html tags.