Fixed validation errors for img tags in the post layout