Add documentation about DTD escaping and dialects