Skip to content

Commit

Permalink
Merge pull request apidoc#11 from martinj/master
Browse files Browse the repository at this point in the history
Fix parsing for empty lines and removing stars on data that spans over multiple lines.
  • Loading branch information
rottmann committed Aug 21, 2013
2 parents 326f787 + dcdc975 commit c99fe55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Parser.prototype._findBlocks = function()

// Entfernt in den gefundenen Blöcken die überflüssigen " * " und " " am Anfang.
//var starsRegExp = /^\s?(\*|\s)?\s?/gm;
var starsRegExp = /^\s?(\*|\s)[ ]?/gm;
var starsRegExp = /^(\s+)?(\*|\s)[ ]?/gm;

// Findet die Dokumentblöcke zwischen "/**" und "*/"
var docBlocksRegExp = /\/\*\*\uffff(.+?)\*\//g;
Expand Down

0 comments on commit c99fe55

Please sign in to comment.