Recent Topics

Multiple insertion of <p><br></p>

Started by on Jun 24, 2019 – Contents updated: Jun 29, 2019

Jun 24, 2019 12:42    

Hi. Only just noticed since upgrade to 6.11.2 and not 100% sure that is what instigated this anomaly but I have a couple of dozen of the <p><br></p> after a </div> and before a <table> which means considerable scrolling has to doen to see the table.

First I thought it was a css error and removed classes and ids, to no avail. Looking via document inspector I found the insertions.

Multiple insertion of &lt;p&gt;&lt;br&gt;&lt;/p&gt;

By the way opeing up the <p> ~ </p> show another inner <br> And what's with this old HTML 3 <br>?

I deleted any space between the </div> and <table> ~ </div><table> but no change
I checked the post via phpMyAdmin and there is no insertion.

So I added an inline css to the table tag <table style="margin-top:-56em"> which moves the table up to it's proper place.

I do have autoP on and if I switch if off I get a huge gap again.

Will try and disable, reset, remove and reinstall the plug-in to see if that is causing a problem.

Jun 24, 2019 14:29

I understand that turning auto-P off and then on again seems to fix this.

I would still very much know how to reproduce this.

Do it happen when editing older posts?

Jun 24, 2019 14:41

No it's static page with local train times which I updated on May 19 last. The only changes have been the upgrade to 6.11.2 and my php to 7.3.6. I only became aware of ti as someone said the timetable was missing, when in fact is was dozens of lines down the page.

So it's only happened the once and not when editing??

Jun 24, 2019 14:50

"Static page" ??? like a .html page?

URL please

Jun 24, 2019 14:56

Sorry not a static page?!?

https://calstock.org.uk/misc.php/local-trains-1

Basically I copied an old html body code to a post, but it is a post now.

The gap occurred under the green highlighted text and the large heading Calstock - Plymouth.

Full post text attached [trains.txt]


Attachments:

Jun 25, 2019 03:07

Ah you're pasting heavily loaded HTML.
Please consider that Auto-P is only designed to work with text-only or simple HTML posts.

Jun 25, 2019 09:48

OK Thanks :)
But saying that it is the first time it has happened and that coded page has been on b2evo since 2008

Jun 25, 2019 14:40

Another thing to check would be: do you have the markdown plugin enabled?
This one changed significantly in v6.11.

Jun 25, 2019 16:07

Nope. Markdown plugin is not installed.

I do have some ancient, modified stuff
MoreTags > from the ¥åßßå, Topanga, EdB era :) which is now > mySpansnDivs
and
the old QuickTags which is now > myhtmltags
and another moded version as in the image

Thought I'd show off my childish skills :)

Jun 29, 2019 21:33

Hi @fplanque

Just to note again that the insert was <p><br></p>

I'm wondering how an old html <br> was added without the closing slash. It doesn'r appear in the Auto P plugin in any obvious sense ??


Form is loading...

Web Site Engine – This forum is powered by b2evolution CMS, a complete engine for your website.