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

Website links in writer portal are broken if they don't have the protocol. #21

Open
heraldofsolace opened this issue Jan 9, 2022 · 0 comments

Comments

@heraldofsolace
Copy link
Member

If a website link in the writer's details doesn't start with http:// or https://, the link is broken on the writer portal. For example, see the website link in https://portal.draft.dev/writers/recyXbROI5JMWEOtv . This is because we are outputting the link straight to an <a> tag, so in the absence of a protocol, the browser treats the URL as a relative URL and breaks.

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

No branches or pull requests

1 participant