inputHtml: Pass the raw HTML content you want to sanitize (string input).
Example: This is a sample content.
This is a sample content.
allowedHtmlTags: Provide an array of tags you want to allow in the sanitized HTML.
Example: ["p", "b"] (This will keep and tags, and remove others like ).
["p", "b"]
sanitizedHtml: This is the output parameter that will hold the sanitized HTML content after processing.