Fixed XSS when editing post.