Terence Eden on Nostr: I *think* I've found a #WordPress bug with wpautop. Can you help test it before I ...
I *think* I've found a #WordPress bug with wpautop.
Can you help test it before I raise a bug and make a fool out of myself?
Create a new post with the following line of HTML in it:
<blockquote><header><a href=""><img src=""><p>Test</p></a></header></blockquote>
Preview the post and then view source.
Does WordPress put a stray </p> after the <img>?
Published at
2024-08-13 10:43:50Event JSON
{
"id": "b0072a3f66ddcf4095ad295e0875629a17d3db7f4db62001137f8a12256f6433",
"pubkey": "fddf487eea9db57a6e320f80e5cb63de50bedf539695a41c0d447be6c23643e1",
"created_at": 1723538630,
"kind": 1,
"tags": [
[
"t",
"wordpress"
],
[
"proxy",
"https://mastodon.social/users/Edent/statuses/112953827658937608",
"activitypub"
]
],
"content": "I *think* I've found a #WordPress bug with wpautop.\n\nCan you help test it before I raise a bug and make a fool out of myself?\n\nCreate a new post with the following line of HTML in it:\n\n\u003cblockquote\u003e\u003cheader\u003e\u003ca href=\"\"\u003e\u003cimg src=\"\"\u003e\u003cp\u003eTest\u003c/p\u003e\u003c/a\u003e\u003c/header\u003e\u003c/blockquote\u003e\n\nPreview the post and then view source.\n\nDoes WordPress put a stray \u003c/p\u003e after the \u003cimg\u003e?",
"sig": "483454d3709769f81f4b46fbb50fd96c1ec9cc86d136cfd60b7b4ed9241c19194fd2b13c67926809c75874fc9bcc09169c95ced7b30523be67a303ae88bc992a"
}