Merge pull request #15 from joonatanjak/patch-1

Fix subpage links in tables
This commit is contained in:
Leonardo Cavaletti 2020-11-19 08:51:34 +00:00 committed by GitHub
commit 44b1b6d22d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -464,7 +464,7 @@ class Parser:
table_row_href = "/" + table_row_block_id.replace("-", "")
row_target_span = table_row.find("span")
row_link_wrapper = soup.new_tag(
"a", attrs={"href": table_row_href, "style": "cursor: pointer;"}
"a", attrs={"href": table_row_href, "style": "cursor: pointer; color: inherit; text-decoration: none; fill: inherit;"}
)
row_target_span.wrap(row_link_wrapper)