simonmcmanus/sizlate — pull request #22 by richmarr (2014-03-21 14:04:18+00:00)
Title: Added innerText method to set cheerio.text()...

So that we needn't rely on using cheerio.html(). This means that fields that definitely shouldn't contain HTML can be cleanly escaped by cheerio and closes some potential XSS attack vectors.

The change seems to make sense from a security perspective and doesn't change any APIs.