Known bugs:

* Some unicode characters aren't converted to entities.