Skip to content

Commit

Permalink
Fix docs typo (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzaworski authored and Malte Legenhausen committed Nov 10, 2017
1 parent 019f45e commit 1dbebe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ var htmlToText = require('html-to-text');

var text = htmlToText.fromString('<h1>Hello World</h1>', {
format: {
heading: function (node, fn, options) {
heading: function (elem, fn, options) {
var h = fn(elem.children, options);
return '====\n' + h.toUpperCase() + '\n====';
}
Expand Down

0 comments on commit 1dbebe1

Please sign in to comment.