var page = $("p").filter(function() {
const html = $(this).html();
return html === " " || html === "";
});
page.replace(/<p>( )?<\/p>/gi, "");
.wrapper {
width: 1000px;
display: flex;
align-items: center;
}
.text {
align-self: auto;
}
.images {
align-self: auto;
}