fix html errors in api_doc and others