Ask a question to get started
Enter to sendā¢Shift+Enter new line
Remove unwanted classname from a given HTML content.
remove_unwanted_classnames( html_content: str, unwanted_classnames: Union[List[str], Tuple[str, ...]] ) -> str
html_content
str
The original HTML content string.
unwanted_classnames
Union[List[str], Tuple[str, ...]]
A list of classnames to be removed from the HTML.