From fcfb40cf52e68ddb9556e36f638e715d299ca8c7 Mon Sep 17 00:00:00 2001 From: Robert Raposa Date: Tue, 31 Oct 2017 14:42:55 -0400 Subject: [PATCH] Remove pragmas to disable mako-missing-default --- cms/templates/base.html | 3 +-- cms/templates/ux/reference/fragments/course-settings.html | 2 +- lms/templates/main.html | 2 -- lms/templates/ux/reference/fragments/unit-fragment.html | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cms/templates/base.html b/cms/templates/base.html index cbe419c9e4..d0e4c212e7 100644 --- a/cms/templates/base.html +++ b/cms/templates/base.html @@ -1,6 +1,5 @@ -## xss-lint: disable=mako-missing-default - ## coding=utf-8 +## mako ## Pages currently use v1 styling by default. Once the Pattern Library ## rollout has been completed, this default can be switched to v2. diff --git a/cms/templates/ux/reference/fragments/course-settings.html b/cms/templates/ux/reference/fragments/course-settings.html index 593ec77ced..c6549ac5b4 100644 --- a/cms/templates/ux/reference/fragments/course-settings.html +++ b/cms/templates/ux/reference/fragments/course-settings.html @@ -1,5 +1,5 @@ +<%page expression_filter="h"/>
diff --git a/lms/templates/main.html b/lms/templates/main.html index 5599ff613e..52576191e3 100644 --- a/lms/templates/main.html +++ b/lms/templates/main.html @@ -1,5 +1,3 @@ -## xss-lint: disable=mako-missing-default - ## coding=utf-8 ## This is the main Mako template that all page templates should include. diff --git a/lms/templates/ux/reference/fragments/unit-fragment.html b/lms/templates/ux/reference/fragments/unit-fragment.html index 9b5847a043..1a0108aa1a 100644 --- a/lms/templates/ux/reference/fragments/unit-fragment.html +++ b/lms/templates/ux/reference/fragments/unit-fragment.html @@ -1,6 +1,6 @@ ## mako +<%page expression_filter="h"/>