Trying to handle entities and markdown conversion better.