Skip to content

Remove stray tags added by BeautifulSoup

Compare
Choose a tag to compare
@msufa msufa released this 20 Dec 16:40
· 9 commits to master since this release

BeautifulSoup's parser is sometimes to eager to close tags, which produces output like
<embed></embed>, which some HTML validators fail to accept. This release removes
the stray tags if found.