8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70ecf71 commit 1e34ed0Copy full SHA for 1e34ed0
package.py
@@ -17,6 +17,11 @@
17
soup = BeautifulSoup(file_path.read_text(encoding="UTF8"), 'lxml')
18
contents = soup.find('div', class_="body").div
19
20
+ # Handle PEP 0
21
+ if int(file_path.stem[-4:]) == 0:
22
+ [tag.p.unwrap() if tag.p else tag for tag in contents.findAll("th")]
23
+ [tag.p.unwrap() if tag.p else tag for tag in contents.findAll("td")]
24
+
25
# Removes <p> tags from list item elements
26
for tag in contents.findAll("li"):
27
try:
0 commit comments