lib/helpers.js
function(text, length, moreText) {
    var t = text.split('</p>');
    return t.length < length ? text : t.slice(0, length).join('</p>') + '</p>' + moreText;
  }
function(text, length, moreText) {
    var t = text.split('</p>');
    return t.length < length ? text : t.slice(0, length).join('</p>') + '</p>' + moreText;
  }
function ( text , length , moreText ) { var t = text . split ( '</p>' ) ; return t . length < length ? text : t . slice ( 0 , length ) . join ( '</p>' ) + '</p>' + moreText ; }
Truncates HTML based on paragraph counts.

@param {String} Text to truncate
@param {Integer} Number of paragraphs
@param {String} Text to append when truncated
@return {String}
Truncates HTML based on paragraph counts .