Two things we'd like to enhance for internal_domains:
Protocol-relative URLs
One test case to consider is protocol-relative URLs (starting with //).
Domains with a . in the domain name
Multiple-level domains won't get caught:
isExternalUrl("https://mystmd.org.github.io/", "mystmd.org")
returns false.
Two things we'd like to enhance for
internal_domains:Protocol-relative URLs
One test case to consider is protocol-relative URLs (starting with //).
Domains with a
.in the domain nameMultiple-level domains won't get caught:
returns
false.