Skip to content

Link URL getting encoded in react-markdown v9 #797

Closed
@ankurparihar

Description

@ankurparihar

Initial checklist

Affected packages and versions

9.0.0

Link to runnable example

No response

Steps to reproduce

Go to: https://remarkjs.github.io/react-markdown/

Open Network panel in DevTools

Paste this in readme

[![Test Badge](
https://github.com/remarkjs/react-markdown/workflows/main/badge.svg?v=123&branch=feat/router)](https://github.com/remarkjs/react-markdown/actions)

Observed URL: https://github.com/remarkjs/react-markdown/workflows/main/badge.svg?v=123&branch=feat/router

Notice: &, this is causing issues

Expected behavior

URL should not be double encoded

Actual behavior

URL is being encoded in a weird way.

Runtime

No response

Package manager

No response

OS

No response

Build and bundle tools

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions