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": "6dbcbb5533750f4ac413f5eb0dbe89b4252137260f8c9e7daa00cb881935c03c",
"pubkey": "350b4da116bd4aa32feaa4d36a4aa69b544e430946c2a9fa1ac43b3342652b3e",
"created_at": 1723538630,
"kind": 1,
"tags": [
[
"t",
"wordpress"
],
[
"proxy",
"https://mastodon.social/@Edent/112953827658937608",
"web"
],
[
"proxy",
"https://mastodon.social/users/Edent/statuses/112953827658937608",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/Edent/statuses/112953827658937608",
"pink.momostr"
],
[
"-"
]
],
"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": "12f3bf29029c1b7f07e21b263c684f34d9a35500a42d4bc71571e9f4e59004a533ccf62aa02f91e2715849fae6bbae0891d67dc44e4f27301df3897889a44c00"
}