Skip to content

Commit ed3ae08

Browse files
committed
Explicitly set parser when calling beautiful soup.
Quiets warning in to be committed tests.
1 parent 6667e73 commit ed3ae08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roundup/dehtml.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self, converter):
1717
from bs4 import BeautifulSoup
1818

1919
def html2text(html):
20-
soup = BeautifulSoup(html)
20+
soup = BeautifulSoup(html, "html.parser")
2121

2222
# kill all script and style elements
2323
for script in soup(["script", "style"]):

0 commit comments

Comments
 (0)