Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapping HTML with NextJS <Link /> #8713

Closed
nicer00ster opened this issue Sep 11, 2019 · 2 comments
Closed

Wrapping HTML with NextJS <Link /> #8713

nicer00ster opened this issue Sep 11, 2019 · 2 comments

Comments

@nicer00ster
Copy link

Hello,

I'm creating a headless WordPress site with NextJS and I'm currently fetching all the help docs via pages from my WordPress backend. Since the data being returned from the API when fetching a page is HTML, I'm using dangerouslySetInnerHTML on the page where it's being rendered.

I'd like to wrap all the <a /> tags that's being fetched with the NextJS <Link /> tag. I was wondering if this was possible?

Thanks!

@huv1k
Copy link
Contributor

huv1k commented Sep 12, 2019

Hey @nicer00ster, please follow our issue template. Questions should be posted on spectrum.

You can check this issue.

@huv1k huv1k closed this as completed Sep 12, 2019
@balazsorban44
Copy link
Member

This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.

@vercel vercel locked as resolved and limited conversation to collaborators Jan 31, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants