[wp-trac] [WordPress Trac] #40676: wpautop adds opening & closing p tags around the opening a tag and around the closing a tag when the link contains certain flow content elements like div, h1, h2...
WordPress Trac
noreply at wordpress.org
Fri Jun 9 09:50:31 UTC 2017
#40676: wpautop adds opening & closing p tags around the opening a tag and around
the closing a tag when the link contains certain flow content elements like
div, h1, h2...
--------------------------+------------------------------
Reporter: diegocanal | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.7.4
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by hlashbrooke):
I didn't realise this was an argument :)
It seems you are probably correct, but parsing all of that content about
HTML standards is pretty daunting to be honest, so I'm not going to go
through the task of interpreting it all. I merely commented on here to
weigh in on it a bit, but I'm not that invested in the outcome.
I was just pointing out that it isn't generally accepted in HTML practice,
even if it is permissible. I'll leave this to more experienced minds to
work out from here :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40676#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list