Skip to content

Conversation

andreiborza
Copy link
Member

@andreiborza andreiborza commented Aug 8, 2024

ref: #13273

@andreiborza andreiborza added the Package: solidstart Issues related to the Sentry SolidStart SDK label Aug 8, 2024

const content = `<head>\n${metaTags.join('\n')}\n`;
const content = `<head>\n${metaTags}\n`;
return html.replace('<head>', content);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering what happens if a user has any attributes set on the <head>tag like lang="de" or something like this? 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea then no meta-tags, but I have never seen attributes placed on head ever before. Are there any such cases? (also our other sdks will have this problem too).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's technically possible although very uncommon

@andreiborza andreiborza merged commit 6cbc416 into develop Aug 8, 2024
@andreiborza andreiborza deleted the ab/solidstart-core-metatags branch August 8, 2024 08:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: solidstart Issues related to the Sentry SolidStart SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants