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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Monday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

194 views 3 3
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