lib/parseComments.js
function parse_description(str, data) {
        if (data.errors && data.errors.length) { return null; }

        var result = str.match(/^\s+([\s\S]+)?/);

        if (result) {
          return {
            source: result[0],
            data: {description: result[1] === undefined ? '' : result[1].replace(trimNewlineRegex, '')}
          };
        }

        return null;
      }
function parse_description(str, data) {
        if (data.errors && data.errors.length) { return null; }

        var result = str.match(/^\s+([\s\S]+)?/);

        if (result) {
          return {
            source: result[0],
            data: {description: result[1] === undefined ? '' : result[1].replace(trimNewlineRegex, '')}
          };
        }

        return null;
      }
function parse_description ( str , data ) { if ( data . errors && data . errors . length ) { return null ; } var result = str . match ( / ^\s+([\s\S]+)? / ) ; if ( result ) { return { source : result [ 0 ] , data : { description : result [ 1 ] === undefined ? '' : result [ 1 ] . replace ( trimNewlineRegex , '' ) } } ; } return null ; }
remove any trailing and preceding newline characters. Modified from PARSERS.parse_description. @see https://github.com/yavorskiy/comment-parser/blob/master/parser.js
remove any trailing and preceding newline characters . Modified from PARSERS . parse_description .