This would patch all templates (django/mako) for a possible XSS code injection via translation files by html escaping them.. LEARNER-4632
8 lines
265 B
HTML
8 lines
265 B
HTML
<%page expression_filter="h"/>
|
|
<%! from django.utils.translation import ugettext as _ %>
|
|
|
|
<div class="wrap-instructor-info studio-view">
|
|
<a class="instructor-info-action" href="${edit_link}">${_("View Unit in Studio")}</a>
|
|
</div>
|
|
${frag_content | n, decode.utf8}
|