Skip to content

Commit 1dbebe1

Browse files
alexzaworskiMalte Legenhausen
authored andcommitted
Fix docs typo (html-to-text#146)
1 parent 019f45e commit 1dbebe1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ var htmlToText = require('html-to-text');
8484

8585
var text = htmlToText.fromString('<h1>Hello World</h1>', {
8686
format: {
87-
heading: function (node, fn, options) {
87+
heading: function (elem, fn, options) {
8888
var h = fn(elem.children, options);
8989
return '====\n' + h.toUpperCase() + '\n====';
9090
}

0 commit comments

Comments
 (0)