The children display macro will render all of its content as children of an otherwise redundant h2 element, e.g.
<div class="innerCell">
<h2 id="ComputerGamesDevelopment-ConceptsandIdeasArchitectureGamesTemplatesGlossary"><ul class="childpages-macro conf-macro output-block" data-hasbody="false" data-macro-name="children"><li><a href="/display/CGD/Concepts+and+Ideas">Concepts and Ideas</a></li><li><a href="/display/CGD/Architecture">Architecture</a></li><li><a href="/display/CGD/Games">Games</a></li><li><a href="/display/CGD/Templates">Templates</a></li><li><a href="/display/CGD/Glossary">Glossary</a></li></ul></h2><p><br></p></div>
which seems to be utterly wrong. Why is there the containing h2 element at all?
Would it not be more suitable to make it a div instead, or eliminate that container altogether as it is totally redundant?
N.B.: this will not happen always, especially if you have already placed headers in your page. it will only happen if you have no headers at all, i.e. a page without any content other than the inclusion of the children display macro.
Just checked with confluence 7.10.0 and everything is working fine.
So this can be closed.
This seems to have been fixed. I am no longer seeing the redundant h2 heading element and everything seems to be working just fine with the children display macro.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I just noticed the other day that this will only occur when you have sections on your page. Then the children display macro will render its content in the way described.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Carsten,
Thank you for providing your feedback and explaining what you’re seeing. We’ve taken this feedback and created a feedback request on your behalf. You may find this request at CONFCLOUD-66891.
We’re attempting to reach out to see if we can provide an explanation of what you're seeing and the method used. Please note that since this is not directly related to support we will attempt the best effort to get you an answer.
Regards,
Stephen Sifers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.