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
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 vote
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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

296 views 11 10
Join discussion

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