- 
                Notifications
    
You must be signed in to change notification settings  - Fork 40
 
Open
Description
This feature has been around for a while and there was discussion about enabling it by default. https://php.microformats.io/ has the flag enabled if you want to try it out.
If we do, I'm not sure whether or not it should be under a new minor version release. It changes the structure adding lang if the document specifies language(s). While it's been in the parser for a while, I don't think we have evidence of it being enabled/used (other than the test parser above), so a minor version might be a good idea.
<html lang="en"> <div class="h-entry">This test is in English.</div> </html>{
    "items": [
        {
            "type": [
                "h-entry"
            ],
            "properties": {
                "name": [
                    "This test is in English."
                ]
            },
            "lang": "en"
        }
    ]
}Metadata
Metadata
Assignees
Labels
No labels