diff options
author | Kevin Decker <kpdecker@gmail.com> | 2014-03-05 18:24:59 -0600 |
---|---|---|
committer | Kevin Decker <kpdecker@gmail.com> | 2014-03-05 18:24:59 -0600 |
commit | d33ae150cda7e2538177d7b0f06f7e1feb16aafc (patch) | |
tree | 706902523a0d5d3efc04eb87435933c31d130314 /README.markdown | |
parent | 8347ee25916f5f1796c211a6555f674011f89b6b (diff) | |
parent | c68620caf9f22032a4b2e44fb2d181e37aa89bd1 (diff) | |
download | handlebars.js-d33ae150cda7e2538177d7b0f06f7e1feb16aafc.zip handlebars.js-d33ae150cda7e2538177d7b0f06f7e1feb16aafc.tar.gz handlebars.js-d33ae150cda7e2538177d7b0f06f7e1feb16aafc.tar.bz2 |
Merge pull request #740 from SimonCropp/patch-1
Update README.markdown
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/README.markdown b/README.markdown index 97dcf3a..e2c392f 100644 --- a/README.markdown +++ b/README.markdown @@ -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!"}] }; |