hozana / next-translate-routes

Flexible and translated routes for Next.js without custom server
MIT License
116 stars 30 forks source link

Mailto links are broken since v.1.9.2 #75

Closed simonhenke closed 1 year ago

simonhenke commented 1 year ago

Seems like some change in version 1.9.2 is causing the href of mailto:-links to be incorrectly parsed to "/".

<Link href="mailto:text@example.com">Contact</Link> is being rendered as <a href="/">Contact</a>

Possible workarounds:

cvolant commented 1 year ago

I fixed it in prerelease 1.11.0-0. I will release it in 1.11.0 soon.