Closed aligreene closed 6 months ago
See the changelog on how to pass a URL transform https://github.com/remarkjs/react-markdown/blob/main/changelog.md#add-urltransform.
Hi! This was closed. Team: If this was fixed, please add phase/solved
. Otherwise, please add one of the no/*
labels.
Thanks very much
Initial checklist
Affected packages and versions
react-markdown v9.0.0
Link to runnable example
https://codesandbox.io/p/devbox/react-markdown-telephone-link-bug-3vsqry
Steps to reproduce
We recently updated from react-markdown ^8.0.3 to ^9.0.0 and since then, any phone link renders with no value in the link href.
See sandbox for runnable example, or follow steps below:
[123 456 789](tel:123456789)
Expected behavior
The link is rendered in HTML with a href value:
<a href="tel:123456789">123 456 789</a>
Actual behavior
The link renders without a href value:
<a href="">123 456 789</a>
Runtime
No response
Package manager
No response
OS
No response
Build and bundle tools
No response