Fix images expanding in posts. Fixes #492.