Google has added a new help document named valid page metadata that talks about how Google can process invalid or inconsistent HTML with the issues around invalid markup.
https://searchengineland.com/google-adds-new-valid-page-metadata-help-document-385049