forked from docs/doc-exports
Compare commits
2 Commits
main
...
convertor_
Author | SHA1 | Date | |
---|---|---|---|
11ffa0d4d8 | |||
e463db0379 |
@ -265,7 +265,7 @@ class OTCDocConvertor:
|
||||
for lnk in soup.body.find_all("a"):
|
||||
if (
|
||||
lnk.string is None
|
||||
and hasattr(lnk, "name")
|
||||
and lnk.has_attr("name")
|
||||
and not re.match(r"^li\d+$", lnk.attrs["name"])
|
||||
# anywhere section
|
||||
and not re.match(r".*section\d+$", lnk.attrs["name"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user