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

Fix Landing Page html tag detection #81

Merged
merged 2 commits into from
Sep 26, 2024

Conversation

n7studios
Copy link
Contributor

Summary

Fixes this reported issue by checking for any <html> tags, such as <html lang.

Before:
Screenshot 2024-09-25 at 11 46 30

After:
Screenshot 2024-09-25 at 11 46 50

Testing

  • testGetLandingPageHTML: Confirm original <html lang="en"> is preserved
  • testGetLegacyLandingPageHTML: Confirm <html> tag was added, as this isn't included when fetching legacy landing pages.

Checklist

@n7studios n7studios added the bug Something isn't working label Sep 25, 2024
@n7studios n7studios self-assigned this Sep 25, 2024
@n7studios n7studios requested review from a team, noelherrick and jenessawhite and removed request for a team September 25, 2024 08:25
@n7studios n7studios marked this pull request as ready for review September 25, 2024 08:25
@n7studios n7studios merged commit 5b107d1 into main Sep 26, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants