Skip to content

Problem using isFragment #262

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

Open
Ciao121 opened this issue May 2, 2024 · 2 comments
Open

Problem using isFragment #262

Ciao121 opened this issue May 2, 2024 · 2 comments

Comments

@Ciao121
Copy link

Ciao121 commented May 2, 2024

I'm using this since a month and I had no problem.
Today I tried to use it with an Italian fragment and I got this:
This document appears to be written in Italian but the “html” start tag has “lang="en"”. Consider using “lang="it"” (or variant) instead.
My fragment has no headers. It's just a series of <p>some text</p> paragraphs. I think that lang="en" is injected by the validator. It should be possible to specify a language otherways the validation fails for any non english language

@Ciao121
Copy link
Author

Ciao121 commented May 2, 2024

Sorry, technically the validation does not fail but you get a warning.

@QuentinouLeTwist
Copy link

QuentinouLeTwist commented May 28, 2024

Hi @Ciao121

Same problem for me. I opened #264 for this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants