Merge pull request #16709 from open-craft/uman/xsslint

Fix some mako-missing-default xsslint issues in test files.
This commit is contained in:
Jesse Zoldak
2017-11-30 06:50:04 -08:00
committed by GitHub
20 changed files with 22 additions and 3 deletions

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
# intentionally left blank

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="dashboard.html" />
<%block name="pagetitle">Overridden Title!</%block>
${parent.body()}

View File

@@ -1,4 +1,5 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='/static_content.html'/>
<%include file="${static.get_template_path('courseware/test_relative_path.html')}" />
<%include file="${static.get_template_path('/courseware/test_absolute_path.html')}" />

View File

@@ -4,7 +4,7 @@
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
%>
<%page args="tab_list, active_page, default_tab, tab_image" />
<%page args="tab_list, active_page, default_tab, tab_image" expression_filter="h" />
<%
def url_class(is_active):

View File

@@ -1,3 +1,4 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='/static_content.html'/>
<div>Microsite absolute path template contents</div>

View File

@@ -1,3 +1,4 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='/static_content.html'/>
<div>Microsite relative path template contents</div>

View File

@@ -1,4 +1,5 @@
## mako
<%page expression_filter="h"/>
<%namespace name='static' file='static_content.html'/>
<%!
from django.core.urlresolvers import reverse

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%namespace name='static' file='../../static_content.html'/>
<% style_overrides_file = static.get_value('css_overrides_file') %>

View File

@@ -1,4 +1,5 @@
<%!
<%page expression_filter="h"/>
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
%>

View File

@@ -1,4 +1,5 @@
<%!
<%page expression_filter="h"/>
<%!
from django.utils.translation import ugettext as _
from django.core.urlresolvers import reverse
%>

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%! from django.core.urlresolvers import reverse %>
<%namespace name='static' file='../../../static_content.html'/>

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!

View File

@@ -1 +1,2 @@
<%page expression_filter="h"/>
This is a copyright page for an Open edX site.

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<%inherit file="../main.html" />
<%namespace name='static' file='../static_content.html'/>
<%!

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<html>
<head>
<title>Payment Error</title>

View File

@@ -1,3 +1,4 @@
<%page expression_filter="h"/>
<html>
<head><title>Payment Form</title>
</head>