cheeriojs/cheerio — pull request #588 by jugglinmike (2014-11-02 18:56:54+00:00)
Title: Ensure text nodes expose the DOM level 1 API

Since enabling the `withDomLvl1' parsing option, nodes cannot be created
with an object literal. Create new text nodes using the `evaluate`
function to ensure they expose the correct attributes.