diff --git a/bundles/loconotion.css b/bundles/loconotion.css index 5f1893d..8328746 100644 --- a/bundles/loconotion.css +++ b/bundles/loconotion.css @@ -34,6 +34,12 @@ div[role="button"]:not(.notion-record-icon):hover { padding-right: unset !important; } +/* pull alias arrows back inline */ +svg.alias { + display: inline-block !important; + height: auto !important; +} + @media only screen and (max-width: 960px) { /* normalizes banner / page title width */ .notion-scroller > div:not([class]), diff --git a/loconotion/notionparser.py b/loconotion/notionparser.py index 31a3477..48a7541 100644 --- a/loconotion/notionparser.py +++ b/loconotion/notionparser.py @@ -555,8 +555,10 @@ class Parser: # find sub-pages and clean slugs / links sub_pages = [] for a in soup.findAll("a"): - if a["href"].startswith("/"): + sub_page_href = a["href"] + if sub_page_href.startswith("/"): sub_page_href = "https://www.notion.so" + a["href"] + if sub_page_href.startswith("https://www.notion.so/"): # if the link is an anchor link, # check if the page hasn't already been parsed if "#" in sub_page_href: