Fix tokens for plain text