Escape asterisks and other characters in generated docs. [ci skip]