Skip to content

Slashes in markdown urls changed to %2F #2807

Closed
@andrewmarx

Description

@andrewmarx

I have a few prerendered images in my articles that I manually insert in the markdown like so:

![](img/coinflipmatrix.svg)

This used to be okay and would build into:

<img src="img/coinflipmatrix.svg">

But under the most recent version of pkgdown, it's replacing the slashes with %2F:

<img src="img%2Fcoinflipmatrix.svg">

Which breaks the link. I don't know if it's actually a pkgdown issue or something else pkgdown uses. If it is pkgdown, I don't know how old my previous version of pkgdown was to narrow down when it started; it may have been very outdated.

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