templates/twitter/golfapp/components/golf/twitter/Tweet/Tweet.html in golf-0.2.4 vs templates/twitter/golfapp/components/golf/twitter/Tweet/Tweet.html in golf-0.2.5
- old
+ new
@@ -5,11 +5,11 @@
}
</style>
<script type="text/golf">
function(tweet) {
- $(".user").text(tweet.from_user);
- $(".text").text(tweet.text);
+ $(".user").html("<span>"+tweet.from_user+"</span>");
+ $(".text").html("<span>"+tweet.text+"</span>");
}
</script>
<span class="user">A user</span> says: <span class="text">Some things.</span>
</li>