diff --git a/test/cheerio.js b/test/cheerio.js index a119b749ce..144d9d41c5 100644 --- a/test/cheerio.js +++ b/test/cheerio.js @@ -298,6 +298,15 @@ describe('cheerio', function() { expect(domEncoded('footer').html()).to.be(expectedXml); }); + it('should not encode characters (issue #866)', function() { + var str = 'абв', + div = '