Skip to content

Rahti preview does not handle absolute html links correctly  #141

@Nortamo

Description

@Nortamo

Absolute html links of the form /img/cyberduck_connect.PNG start from the root of the webpage, so basicly the site folder.

So in docs.csc.fi, the link /img/cyberduck_connect.PNG would resolve to
docs.csc.fi/img/cyberduck_connect.PNG and it works.

However, in the preview (csc-guide-preview.rahtiapp.fi/origin/name-of-branch) the same link
will resolve to csc-guide-preview.rahtiapp.fi/img/cyberduck_connect.PNG
which is not a valid path and no picture will be shown

No that critical, but just keep in mind that the preview might not display all images if they are using absolute paths. Quick fix is to just use relative paths for images.

Metadata

Metadata

Assignees

No one assigned

    Labels

    low priorityMatter is not so urgent, or the discussion is complete but the issue is not yet closed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions