Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow *.notion.site URLs #30

Merged
merged 2 commits into from
Jul 23, 2022
Merged

Allow *.notion.site URLs #30

merged 2 commits into from
Jul 23, 2022

Conversation

smor
Copy link
Contributor

@smor smor commented Jun 17, 2022

Hi Alexandre,

This change allows to use either [www.]notion.so or adjective-noun-123.notion.site URL styles used by Notion.
You may test the regex here : https://regex101.com/r/OFkPBO/1
All the tests pass.

Closes #28
It should also fix asnunes/notion-page-to-html-api#2

Best regards,
Stéphane

@asnunes
Copy link
Owner

asnunes commented Jul 23, 2022

Thanks for your contribution @smor. I tested it and it is working fine. Merging it

@asnunes asnunes merged commit 63df39e into asnunes:master Jul 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Regex to adapt Invalid Page URL error with functioning link
2 participants