The target DOM element to inject content into.
The HTML string to sanitize and inject. Null or undefined clears the element.
Optional: { stripAll: true } to strip all tags; { allowedTags: [...] } to customize.
The element for chaining, or null if invalid.
Sanitize HTML content and inject into a DOM element safely.