Permalink
Browse files

Merge pull request #99 from Southern/buffer-fix

[fix] Call .toString on Buffer objects passed to .bind
  • Loading branch information...
2 parents 57de535 + 681ab06 commit 5e22a90447ed73feac2365ef441877402c7f17c6 @3rd-Eden 3rd-Eden committed May 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/plates.js
View
@@ -219,7 +219,7 @@ function matchClosing(input, tagname, html) {
return output;
}
- html = html || '';
+ html = (html || '').toString();
data = data || {};
var that = this;

0 comments on commit 5e22a90

Please sign in to comment.