Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I remove an extra bullet point in a table of contents?

Steve Wohl
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 10, 2019

I created my Confluence space document. I've established my heading levels.  I create a TOC with a bullet point list. 

Issues:

I see an extra bullet point with no text next to it.  How do I remove the extra bullet point?

8 answers

20 votes
Ken Tam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 10, 2023

In my case, the issue was that my TOC itself was in a line set to a Heading. When changing the TOC line to be Paragraph format, the leading empty bullet went away. 

Ernie March 10, 2023

Super common - good thing that was it.

I *REALLY* wish they'd do a real text+formatting tags mode . . . 

That and get a 1:1 between visual mode and save - a lot of the things I end up pasting short-circuit it and get translated when it didn't render when in visual mode (IMO it's not supposed to right)?

vijay.rajagopal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 27, 2023

That works for me as well.. Thank you Ken.. 

Chris Hefner
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 7, 2023

omg thank you Ken!

Ranadeep Sharma
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 15, 2023

Thanks @Ken Tam . That worked perfectly.

Natalia Krivonos
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 21, 2023

Thanks! It works!

Inês Veríssimo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 23, 2023

Thank you @Ken Tam  it worked for me as well!

5 votes
Ravosh Samari
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 19, 2022

In the TOC settings there is a "List Style" that defaults to "disc". Set this to "none" and hit enter then publish.  

Anne Massenkeil
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2023

Thank you! This way worked for me

1 vote
Richard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 15, 2023

It's including some sort of formatting character in the bullet list, try this:

Capture.JPG

Richard
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
September 15, 2023

Ah that worked in preview but not on page save... sos.

Bill Ryder
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 18, 2024

I used the Exclude Headings based on this

^\s*$

works in preview and on the page

I didn't try the include.

1 vote
krishprasadar
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 21, 2023

Found a better way to fix this. Once the page is in editor mode, on the top right there is source editor icon 

image.png

 

In the source editor window, find the unnecessary heading tag which one of the element has and then remove it. 

Save changes and voila!

1 vote
Dominic Lagger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2019

HI @Steve Wohl 

This issue occurs, when there is a "Heading 1" line somewhere in the page. 

So, you have to find this line and make a normal text. 

Regards

Dominic

Bill Bailey
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 11, 2019

To clarify, use the view storage format and look for empty heading tags. Then you can see where it is and either delete or format as a paragraph.

Like # people like this
Asha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 27, 2022

Hi Steve, I also got this issue with the bullet point, when we insert the table of contents macro in editing section, try to start the content just adjacent to the table of content macro then we will not see the extra bullet. hope this is helpful.

Derek Jackson
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 7, 2023

I cannot believe the extra bullet at the top of the TOC was due to the paragraph style set to Heading 1

Note, if you set Disc to None, as suggested by the original answer, it will remove all the bullets, which is not what I was after...

0 votes
Prashanth H May 2, 2024


I had a header called Table of Contents which was also shown as part of TOC along with the empty line in the bullet points.

TOC Before.png

Follow below steps to fix it:

  1. Edit the Table Of Contents Macro
  2. Add regex for Exclude Headings: ^\s*$|Table of ContentsConfluece TOC.png
  3. Preview the change, you shouldn't see blank headers or the header "Table Of Contents" as bullet points
    TOC After.png
0 votes
Ernie September 7, 2023

Mind your firefox

I just discovered today that between Firefox version 92 and 93, there were changes (for example, the input type 'datetime-local' was supported by most browsers in 2012 but Firefox was not implemented until 2021)

We are on ESR 92 for certain Linux distros (special setup) and I suspect a lot of the 'weirdness' I've had with Confluence may be resolved by accessing from either Chrome or another machine.

It just happens to be one of those strange disconnects.  When I saw today's update to this thread, the lightbulb went on.

0 votes
Ernie February 22, 2023

Old post - I know, but it's still pertinent.

What's happening is that it is rendering as if you've entered this:

-headingtag-TOC Your HeadingText -headingtag-

Steps to fix:

  • Space out your objects with returns
    • Put a return above the macro
    • put a few returns between the macro and your heading text
    • put an extra return after your heading text
  • Select all lines above your heading tag - change the format to "Paragraph"
    • For me, this even reverted my text line
  • Clean up the returns
    • Macro should be on the first line
    • The heading text should be on the second line
    • Content subtext should be on the next line
  • Highlight only your heading text, and change the format to desired heading style

This does not work (but should, logically fix it):

  • Put a return between your macro and heading text
  • Select the entire row of the macro
  • Select "Paragraph" format

It could be the version of FireFox I'm using, but I doubt it.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events