[wp-trac] [WordPress Trac] #32548: Unecessary White Space Above Table
WordPress Trac
noreply at wordpress.org
Sat May 5 10:08:22 UTC 2018
#32548: Unecessary White Space Above Table
--------------------------+------------------------------
Reporter: ChuckC3 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+------------------------------
Comment (by Matthias Reuter):
Seems to be a classical wpautop case. When inserting structured HTML into
a post, linebreaks will be converted to <br> or <p> through wpautop.
There are plugins available to disable wpautop on certain posts:
https://de.wordpress.org/plugins/toggle-wpautop/
This will require users to decide whether to:
* disable wpautop when linebreak-formatted HTML is used. If you have a big
site, you may insert many <p>-Tags and/or <br /> tags manually for
formatting text.
* keep wpautop enabled, but write all HTML in line.
This occurs too with linebreak-formatted div-tags etc.
I don't think this is a bug, as wpautop just does it's job and you should
disable it when you work with complex HTML in your Post.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32548#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list