I am writing a plugin which will alert the post ID upon saving a post. But when the post is edited via quick edit html is messed up.
my code is:
add_action("save_post", "my_save_post", 10, 2 );
in my save post I simply output alert in script tag.
As you can see in the image the table has lost its information.
Read more here: wordpress action save_post output mess up html