draftdev / draftdev/writer-portal

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

Open
#21 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
2
PR merge metrics
No merged PRs in 30d

Description

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 `` tag, so in the absence of a protocol, the browser treats the URL as a relative URL and breaks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.