Skip to content

Conversation

@jaimeiniesta
Copy link
Contributor

As reported in the latest Rocket Validator report, post previews had an HTML issue as some <p> tags were inside <span> elements, which is not allowed.

Captura de pantalla 2025-08-20 a las 19 17 20

Changing the <span> by <div> fixes the issue by now, later we should think of a more semantic approach for this, probably.

This affected post previews. Changing span for div fixes the issue.
@jaimeiniesta jaimeiniesta requested a review from a team as a code owner August 20, 2025 17:18
@jaimeiniesta jaimeiniesta added rocket validator Related with Rocket Validator HTML and accessibility reports bug Something isn't working labels Aug 20, 2025
Copy link
Member

@doomspork doomspork left a comment

Choose a reason for hiding this comment

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

Good catch, thank you @jaimeiniesta! 🫶

@doomspork doomspork added this pull request to the merge queue Aug 20, 2025
Merged via the queue into main with commit 353e03b Aug 20, 2025
5 checks passed
@doomspork doomspork deleted the fix-html-p-inside-span branch August 20, 2025 17:30
@jaimeiniesta
Copy link
Contributor Author

Cool, we've smashed 646 HTML errors from the site!

The latest report shows this issue is now gone, there's only one HTML issue left that should be fixed by #243

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

Labels

bug Something isn't working rocket validator Related with Rocket Validator HTML and accessibility reports

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants