Skip to content

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

@heraldofsolace

Description

@heraldofsolace

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions