check for local attachments, don't alter global $post_content