Navigation Menu

Skip to content

Commit

Permalink
Use the repeat utility function for consistency.
Browse files Browse the repository at this point in the history
Co-Authored-By: Dom Christie <christiedom@gmail.com>
  • Loading branch information
fredck and domchristie committed Mar 5, 2020
1 parent d1ee0ac commit e5bd9f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commonmark-rules.js
Expand Up @@ -124,7 +124,7 @@ rules.fencedCodeBlock = {
}
}

var fence = fenceChar.repeat(fenceSize)
var fence = repeat(fenceChar, fenceSize)

return (
'\n\n' + fence + language + '\n' +
Expand Down

0 comments on commit e5bd9f8

Please sign in to comment.