preactjs / preactjs/vite-prerender-plugin
Duplicate <meta name="description">
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 66
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
When my index.html already contains a <meta name="description">, if I add the following in prerender:
head: {
elements: new Set([
{ type: 'meta', props: { name: 'description', content: 'XXX' } }
]),
}
The final returned HTML will contain two <meta name="description"> tags.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with an index.html containing a description meta tag and the shown prerender head configuration. Trace how existing and configured head elements are combined, then verify that the returned HTML contains only one description tag.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100