Skip to content

Commit

Permalink
[fix] Call .toString on Buffer objects passed to .bind
Browse files Browse the repository at this point in the history
Fixes #90
  • Loading branch information
Southern committed Feb 28, 2013
1 parent 0d1638e commit 681ab06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/plates.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function matchClosing(input, tagname, html) {
return output;
}

html = html || '';
html = (html || '').toString();
data = data || {};

var that = this;
Expand Down

0 comments on commit 681ab06

Please sign in to comment.