Skip to content

Commit

Permalink
remove loose parameter & fix man --test typo
Browse files Browse the repository at this point in the history
  • Loading branch information
x13machine committed Mar 10, 2019
1 parent 0f43e91 commit cbc240a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/marked.js
Original file line number Diff line number Diff line change
Expand Up @@ -1270,7 +1270,7 @@ Parser.prototype.tok = function() {
? this.parseText()
: this.tok();
}
return this.renderer.listitem(body, task, checked, loose);
return this.renderer.listitem(body, task, checked);
}
case 'html': {
// TODO parse inline content if parameter markdown=1
Expand Down
2 changes: 1 addition & 1 deletion man/marked.1
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ Benchmarks the test(s).
.B \-\-time
Times The test(s).
.PP
.B \-\-Run
.B \-\-minified
Runs test file(s) as minified.
.RE
.TP
Expand Down
4 changes: 3 additions & 1 deletion man/marked.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ OPTIONS

--glob [file] Specify which test to use.

--fix Fixes tests.

--bench Benchmarks the test(s).

--time Times The test(s).

--Run Runs test file(s) as minified.
--minified Runs test file(s) as minified.

-t, --tokens
Output a token stream instead of html.
Expand Down

0 comments on commit cbc240a

Please sign in to comment.