[blog] fix issue with spaces added when updating a post in database. temporary solution though