Skip to content

Commit

Permalink
Avoid double-escaping strings
Browse files Browse the repository at this point in the history
  • Loading branch information
sgrove committed Apr 12, 2012
1 parent ecb69f4 commit 3c61952
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -16,7 +16,7 @@ class Kandan.Views.ShowActivity extends Backbone.View
if modified_message != false
@compiled_template = modified_message
else
@compiled_template = Kandan.Helpers.Activities.build_from_message_template $.extend(activity, {content: _.escape(activity.content)})
@compiled_template = Kandan.Helpers.Activities.build_from_message_template activity

$(@el).data('activity_id', activity.id)
$(@el).attr('id', "activity-#{activity.id}")
Expand Down

0 comments on commit 3c61952

Please sign in to comment.