Use default character encoding for htmlentities and check magic quotes to stripslashes
Merge branch 'master' of github.com:itsananderson/wp2md