Escape asterisks and other characters in generated docs.