Pikamander2 <pikamand...@gmail.com> added the comment:
Here's a simplified real world example that I found if it helps anyone: import bs4 html = '''<html><head><!fill in here--> <![end--><!-- start: SSI y-xtra-topspace.shtml --><!-- --></head><body></body></html>''' soup = bs4.BeautifulSoup(html, 'html.parser') ---------- nosy: +Pikamander2 Added file: https://bugs.python.org/file49070/weird-bug-3.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34480> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com