Unverified Commit 848bb3af authored by Duncan Ogle's avatar Duncan Ogle Committed by GitHub

Escape HTML on "<Link> with <a> child" page (#42114)

Non-escaped characters is leading this page to attempt to render the title as HTML tags. This change escapes those values so they may present correctly

https://nextjs.org/docs/messages/invalid-new-link-with-extra-anchor

<img width="524" alt="Screenshot 2022-10-29 at 06 57 16" src="https://user-images.githubusercontent.com/5629994/198817257-47b45ce9-2841-4db1-82f2-91e2c9b22808.png">



## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm build && pnpm lint`
- [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
parent 76dc2dcf
# Invalid <Link> with <a> child # Invalid &lt;Link&gt; with &lt;a&gt; child
#### Why This Error Occurred #### Why This Error Occurred
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment