How to remove the <p><p/> that added after H1

Hi all,

I need to remove the <p><p/> that automatically added after the H1. Is there a way to do this? the kicker is that the <p><p/> doesn't appear in the source code for the page so I can't remove it there.

 

Below is what the page looks like with it's random <p><p/>.
question1.JPG 

This is the source code for the page.
SC1.JPG

 

Any help you can provide would be great.

Thanks

3 answers

1 accepted

2 votes
Accepted answer
Davin Studer Community Champion Nov 21, 2014

Check the source of the page you are including. Is there a <p> </p> tag at the top of it.

This is the top of the included page, I've highlighted the first <P> but if i remove it and <p/> it won't save the page.

p.JPG

Davin Studer Community Champion Nov 24, 2014

Hmm. Well, I'm not totally sure where it is coming from then. If you can'r figure out how it is getting put there you could always hide it via CSS like this ... #MozillaFirefox-MozillaFirefox + p {display:none;}

Fantastic! That worked, still no idea what it's getting it from though. Thank you.

Davin Studer Community Champion Nov 25, 2014

Glad to hear it. Feel free to mark the question answered.

0 votes
Davin Studer Community Champion Nov 20, 2014

If you expand the <p> tag in the top screenshot what is inside it?

The Line is empty sadly. Capture.JPG

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Dec 18, 2018 in Confluence Cloud

Happy holidays from our team to yours!

Hi Community!  2018 was filled with changes for our team, both big and small, and we've taken a lot of time to both celebrate our wins and recognize areas of improvement. One thing that we're a...

492 views 3 18
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you