Skip to content

Commit

Permalink
Remove redundant cast
Browse files Browse the repository at this point in the history
  • Loading branch information
paulroub committed Mar 21, 2018
1 parent de18d8a commit f69a82f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/marked.js
Expand Up @@ -841,7 +841,7 @@ Renderer.prototype.hr = function() {

Renderer.prototype.list = function(body, ordered, start) {
var type = ordered ? 'ol' : 'ul',
startatt = (ordered && +start !== 1) ? (' start="' + start + '"') : '';
startatt = (ordered && start !== 1) ? (' start="' + start + '"') : '';
return '<' + type + startatt + '>\n' + body + '</' + type + '>\n';
};

Expand Down

0 comments on commit f69a82f

Please sign in to comment.