fix a few xss errors

This commit is contained in:
Eric Fischer
2017-11-30 11:43:25 -05:00
parent f5d2741c34
commit 3687d6aa62
3 changed files with 6 additions and 6 deletions

View File

@@ -18,8 +18,8 @@ def url_class(is_active):
tab_class = url_class(tab_is_active)
%>
<li>
<a href="${tab.link_func(course, reverse) | h}" class="${tab_class}">
Test Site Tab: ${_(tab.name) | h}
<a href="${tab.link_func(course, reverse)}" class="${tab_class}">
Test Site Tab: ${_(tab.name)}
% if tab_is_active:
<span class="sr">, current location</span>
%endif

View File

@@ -22,7 +22,7 @@ from django.core.urlresolvers import reverse
</div>
<div class="contacts">
<h2>${_("Class Feedback")}</h2>
<p>${_("We are always seeking feedback to improve our courses. If you are an enrolled student and have any questions, feedback, suggestions, or any other issues specific to a particular class, please post on the discussion forums of that&nbsp;class.")}</p>
<p>${_("We are always seeking feedback to improve our courses. If you are an enrolled student and have any questions, feedback, suggestions, or any other issues specific to a particular class, please post on the discussion forums of that class.")}</p>
<h2>${_("General Inquiries and Feedback")}</h2>
<p>${_('If you have a general question about {platform_name} please email {email}. To see if your question has already been answered, visit our {faq_link_start}FAQ page{faq_link_end}. You can also join the discussion on our {fb_link_start}facebook page{fb_link_end}. Though we may not have a chance to respond to every email, we take all feedback into consideration.').format(