Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Children Display Macro will render h2 that will include all content Edited

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.

4 answers

4 accepted

0 votes
Answer accepted

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

0 votes
Answer accepted

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.

0 votes
Answer accepted

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.

0 votes
Answer accepted

Just checked with confluence 7.10.0 and everything is working fine.

So this can be closed.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence

Introducing External Collaboration for Confluence

We’re excited to introduce external collaboration for Confluence, now available in early access. It is available to preview for Confluence Cloud Premium and Enterprise customers. (If you're not on ...

191 views 0 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you