set filetype to html in newpost