Not unique IDs in produced HTML
It seems that something is wrong in the produced HTML for the case of chapters with sections. Some sections do not get an id attribute at all. Also, modification should be applied to the ID convention ${level}-${itemId}
and become something like ${uuid()}-${itemId}
which will ensure uniqueness.
Changes should happen in this file https://gitlab.coko.foundation/ketida/ketida/-/blob/master/packages/server/api/useCases/utils/bookComponentContentCreator.js