Skip to content

Commit d2a0d21

Browse files
committed
Rename stripMarkdown arg to prevent confusion
1 parent 0a60e18 commit d2a0d21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/make_default_helpers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ module.exports = function(docMap, config, getCurrent, Handlebars){
6565
return out;
6666
};
6767

68-
var stripMarkdown = function(description) {
69-
var html = helpers.makeHtml(description).replace(linksRegExp, function(str) {
68+
var stripMarkdown = function(content) {
69+
var html = helpers.makeHtml(content).replace(linksRegExp, function(str) {
7070
str = str.replace(/[\[]|[\]]/g, '');
7171
var parts = str.match(linkRegExp);
7272
if (parts && parts[2]) {

0 commit comments

Comments
 (0)