From ffe15c436bf2c6fb70303f76659007136fb611d6 Mon Sep 17 00:00:00 2001 From: Juanfran Date: Fri, 31 Oct 2014 13:55:28 +0100 Subject: [PATCH] fix history xss --- app/coffee/modules/common/history.coffee | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/coffee/modules/common/history.coffee b/app/coffee/modules/common/history.coffee index 5918f71c..f817d87b 100644 --- a/app/coffee/modules/common/history.coffee +++ b/app/coffee/modules/common/history.coffee @@ -84,11 +84,11 @@ HistoryDirective = ($log, $loading) ->

from
- <%= point[0] %> + <%- point[0] %>

to
- <%= point[1] %> + <%- point[1] %>

@@ -103,11 +103,11 @@ HistoryDirective = ($log, $loading) ->

from
- <%= from %> + <%- from %>

to
- <%= to %> + <%- to %>

@@ -121,11 +121,11 @@ HistoryDirective = ($log, $loading) -> <% _.each(diff, function(change) { %>

<%= change.name %> from
- <%= change.from %> + <%- change.from %>

<%= change.name %> to
- <%= change.to %> + <%- change.to %>

<% }) %>