Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update README.markdown #740

Merged
merged 1 commit into from

2 participants

@SimonCropp

No description provided.

@kpdecker kpdecker merged commit d33ae15 into wycats:master

1 check passed

Details default The Travis CI build passed
@kpdecker
Collaborator

Going to modify this to include escapeExpression, but thanks for the initial bits!

@kpdecker
Collaborator

Released in 2.0.0-alpha.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 15, 2014
  1. @SimonCropp

    Update README.markdown

    SimonCropp authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  README.markdown
View
2  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!"}] };
Something went wrong with that request. Please try again.