Skip generating ID attribute if a headings children have an ID attribute

Fix #3579784

Closes #3579784

Merge request reports

Loading