Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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)
- Loading branch information
848bb3a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stats from current release
Default Build (Increase detected⚠️ )
General Overall increase⚠️
Client Bundles (main, webpack) Overall decrease ✓
Legacy Client Bundles (polyfills)
Client Pages Overall increase⚠️
Client Build Manifests Overall decrease ✓
Rendered Page Sizes Overall increase⚠️
Edge SSR bundle Size Overall increase⚠️
Middleware size Overall increase⚠️
Diffs
Diff for page.js
Diff too large to display
Diff for middleware-b..-manifest.js
Diff for middleware-r..-manifest.js
Diff for middleware.js
Diff too large to display
Diff for edge-ssr.js
Diff too large to display
Diff for _buildManifest.js
Diff for _app-HASH.js
Diff for _error-HASH.js
Diff for amp-HASH.js
Diff for css-HASH.js
Diff for dynamic-HASH.js
Diff for edge-ssr-HASH.js
Diff for head-HASH.js
Diff for hooks-HASH.js
Diff for image-HASH.js
Diff for index-HASH.js
Diff for link-HASH.js
Diff for routerDirect-HASH.js
Diff for script-HASH.js
Diff for withRouter-HASH.js
Diff for 246.HASH.js
Diff for 745-HASH.js
Diff too large to display
Diff for 867-HASH.js
Diff for app-internals-HASH.js
Diff for page-ebe58936d1199bac.js
Diff for page-2bc7d6173cc05dc5.js
Diff for layout-5819c..2d5d4c6e7.js
Diff for main-HASH.js
Diff too large to display
Diff for main-app-HASH.js
Diff too large to display
Diff for webpack-HASH.js
Diff for index.html
Diff for link.html
Diff for withRouter.html