Closed mphstudios closed 1 year ago
Ensure that the transformed output for EPUB and PDF generation does not have heading or section elements with duplicate id attributes.
id
slugify
h1
@mphstudios I moved the ID de-duplication logic into a standalone dedupeElementIds.js module used by outputs/pdf/write.js and outputs/epub/transform.js
dedupeElementIds.js
outputs/pdf/write.js
outputs/epub/transform.js
Ensure that the transformed output for EPUB and PDF generation does not have heading or section elements with duplicate
id
attributes.Fixed
slugify
on the page title when setting a value forh1
id
attributes.