If a term is contained within the content of a definition (to highlight some term within that content), it gets migrated into a definition-term, a temporary tool-internal translation which is never eliminated in this case. This causes an “unsupported content element: definition-term” error after ingestion.
This happens because the restructuring code uses a selector "definition term" which reaches into arbitrarily nested descendants, so hits term elements within defnition content when it should not. Fix is to use a selector "definition>term" which finds only immediate children.
If a
term
is contained within the content of adefinition
(to highlight some term within that content), it gets migrated into a definition-term, a temporary tool-internal translation which is never eliminated in this case. This causes an “unsupported content element: definition-term” error after ingestion.This happens because the restructuring code uses a selector "definition term" which reaches into arbitrarily nested descendants, so hits term elements within defnition content when it should not. Fix is to use a selector "
definition>term
" which finds only immediate children.