fix(glossaire): include standalone relation headings in reading follow #304
Reference in New Issue
Block a user
Delete Branch "fix/glossaire-reading-follow-relations-h2"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objet
Intègre les
h2[id]standalone dans lereading-followquand une page contient déjà des sections pilotées pardetails-anchor.Problème
Sur les fiches individuelles du glossaire, le bloc "Relations conceptuelles" portait bien un
h2[id], mais n’était jamais repris par lereading-follow, car la logique H2 choisissait soith2Anchors, soith2Plain, sans fusionner les deux sources.Solution
h2Plainlesh2déjà situés dansdetails.details-sectionh2Anchorseth2PlainEffet attendu
reading-followdetailsValidation
npm test