From 0a80c7d4ab366e4147d273970c6d4c94418ca2e7 Mon Sep 17 00:00:00 2001 From: Mike Cooper Date: Wed, 2 Sep 2015 10:44:49 -0700 Subject: [PATCH] [Bug 1201151] Mark html strings in templates as safe. --- Gruntfile.js | 2 +- app/views/main/question.html | 4 ++-- app/views/main/unsupported_locale.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 7b95a99..b617138 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -21,7 +21,7 @@ module.exports = function(grunt) { }, watch: { scripts: { - files: ['js/app.js', 'app/views/*'], + files: ['js/app.js', 'app/views/**'], tasks: ['nunjucks'] } }, diff --git a/app/views/main/question.html b/app/views/main/question.html index 5a7495a..5cc59f0 100644 --- a/app/views/main/question.html +++ b/app/views/main/question.html @@ -12,7 +12,7 @@
- {{ _('We can help
Ask us anything!') }}
+ {{ _('We can help
Ask us anything!')|safe }}
    @@ -24,7 +24,7 @@