Update downsize node module. Small test updates.

issue #4017
- downsize 0.0.5 -> 0.0.8
- downsize is now better at punctuation, update {{content}} and {{excerpt}} tests appropriately.

Conflicts:
	package.json
This commit is contained in:
zethraeus 2014-11-08 17:32:43 -08:00
parent f3de619ea7
commit bfe91b5769
3 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ describe('{{content}} helper', function () {
);
should.exist(rendered);
rendered.string.should.equal('<p>Hello <strong>World</strong></p>');
rendered.string.should.equal('<p>Hello <strong>World!</strong></p>');
});
it('can truncate html to 0 words', function () {

View File

@ -40,7 +40,7 @@ describe('{{excerpt}} Helper', function () {
it('can truncate html by word', function () {
var html = '<p>Hello <strong>World! It\'s me!</strong></p>',
expected = 'Hello World',
expected = 'Hello World!',
rendered = (
helpers.excerpt.call(
{html: html},

View File

@ -40,7 +40,7 @@
"colors": "0.6.2",
"compression": "1.2.0",
"connect-slashes": "1.2.0",
"downsize": "0.0.5",
"downsize": "0.0.8",
"express": "4.10.2",
"express-hbs": "0.7.11",
"fs-extra": "0.12.0",