Skip to content

fix: malformed duplicate loading="lazy" fragment in <img> tags (math.html)#1720

Merged
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Tech4Aditya:fix/math.html
Jul 19, 2026
Merged

fix: malformed duplicate loading="lazy" fragment in <img> tags (math.html)#1720
steam-bell-92 merged 1 commit into
steam-bell-92:mainfrom
Tech4Aditya:fix/math.html

Conversation

@Tech4Aditya

Copy link
Copy Markdown
Contributor

📝 Description

Fixes malformed <img> tags in math.html where 10 project cards had a
duplicate, invalid loading="lazy" fragment trailing after an already
self-closed tag (e.g. ... loading="lazy" / loading="lazy">). This is
invalid HTML that fails W3C validation, even though browsers render it
leniently.

Replaced all 10 affected tags with clean, single-line, properly closed
<img> elements , consistent with the correctly formatted cards already
present further down the same file (fourier-series, binary-search,
sorting-visualizer, quick-sort, merge-sort, matrix-calculator,
math-quiz, tower-of-hanoi).

No functional or visual changes. this is a markup validity fix only.
Verified via grep that zero instances of the broken pattern remain in
math.html, and confirmed all 18 card-banner image tags are intact.

🔗 Linked Issue

Closes #1681


📋 Contribution Checklist

  • I have verified that my files are placed in the correct directory.
  • I have tested my changes thoroughly on my local machine.
  • GSSoC 2026: I have been formally assigned to this issue and noted it above.

@vercel

vercel Bot commented Jul 19, 2026

Copy link
Copy Markdown

@Tech4Aditya is attempting to deploy a commit to the Anuj's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Tech4Aditya Tech4Aditya changed the title Update math.html fix: malformed duplicate loading="lazy" fragment in <img> tags (math.html) Jul 19, 2026
@steam-bell-92
steam-bell-92 merged commit c6ff9d5 into steam-bell-92:main Jul 19, 2026
3 of 4 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Thank you for your contribution!

Your Pull Request has been merged successfully.
Thanks again for your support! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Malformed <img> tags with duplicate/invalid loading="lazy" attribute across project cards in math.html

2 participants