Issue to fix
Htlm is invalid here :
https://code.travail.gouv.fr/fiche-ministere-travail/entreprises-dinsertion-ei
but valid on source page
https://travail-emploi.gouv.fr/emploi-et-insertion/insertion-activite-economique/article/entreprises-d-insertion-ei
Solution
Currently in our page, headings are one less further than on source site as on source H1 is always the link to home.
When we parse the html of each sections, we should transform every decrement every headings with one :
https://github.com/SocialGouv/fiches-travail-data/blob/master/src/fetch-data/parseDom.js#L209
Issue to fix
Htlm is invalid here :
https://code.travail.gouv.fr/fiche-ministere-travail/entreprises-dinsertion-ei
but valid on source page
https://travail-emploi.gouv.fr/emploi-et-insertion/insertion-activite-economique/article/entreprises-d-insertion-ei
Solution
Currently in our page, headings are one less further than on source site as on source H1 is always the link to home.
When we parse the html of each sections, we should transform every decrement every headings with one :
https://github.com/SocialGouv/fiches-travail-data/blob/master/src/fetch-data/parseDom.js#L209