🐛 BUG: <a href="URL">URL</a>
tags in Markdown files generate double links
#3529
Labels
- P4: important
Violate documented behavior or significantly impacts performance (priority)
feat: markdown
Related to Markdown (scope)
What version of
astro
are you using?v1.0.0-beta.40
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
npm
What operating system are you using?
Linux
Describe the Bug
When you clone the Astro Starter Kit: Blog with Multiple Authors example and have block posts where raw HTML is part of the content like:
Astro generates content like
It seems that if the content of the
<a>
-tag is also a URL, the markdown parser automatically generates an additional (empty)<a>
tag.See screenshot:

Expected result
Output generation like
Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-tulupu?file=src/pages/post/chapter-i.md
Participation
The text was updated successfully, but these errors were encountered: