API using html to revise texts