News

Otherwise, use either encodeHTML or encodeXML based on whether you're dealing with an HTML or an XML document. You can have a look at the options for the encode and decode methods to see everything ...
For which languages does it work? The comments in prettify.js are authoritative but the lexer should work on a number of languages including C and friends, Java, Python, Bash, SQL, HTML, XML, CSS, ...