Implemented post preview
fixed indentation