feat: Add some better checks
All checks were successful
Build Docker / BuildImage (push) Successful in 50s

This commit is contained in:
2025-08-25 17:23:24 +10:00
parent 33fd8136a7
commit 08f80ddb5c
4 changed files with 98 additions and 64 deletions

View File

@@ -48,7 +48,7 @@ def fix_numbered_lists(html):
# Find the <p> tag containing numbered steps
paragraphs = soup.find_all('p')
for p in paragraphs:
content = p.decode_contents()
content = p.decode_contents() # type: ignore
# Check for likely numbered step structure
if re.search(r'1\.\s', content):