Validate post contents when editing.

chapter9-5