Merge pull request #740 from SimonCropp/patch-1

Update README.markdown
This commit is contained in:
Kevin Decker
2014-03-05 18:24:59 -06:00
+1 -1
View File
@@ -65,7 +65,7 @@ embedded in them, as well as the text for a link:
```js
Handlebars.registerHelper('link_to', function() {
return "<a href='" + this.url + "'>" + this.body + "</a>";
return new Handlebars.SafeString("<a href='" + this.url + "'>" + this.body + "</a>");
});
var context = { posts: [{url: "/hello-world", body: "Hello World!"}] };