4.2.1.4. sphinx.builders.changes.htmlescape

sphinx.builders.changes.htmlescape(s, quote=None)

Replace special characters “&”, “<” and “>” to HTML-safe sequences. If the optional flag quote is true, the quotation mark character (”) is also translated.