Merge pull request #17452 from edx/adeel/fix_xss_failing_test
Fix xss-linter.py failing test.
This commit is contained in:
@@ -601,6 +601,7 @@ class TestMakoTemplateLinter(TestLinter):
|
||||
results = FileResults('')
|
||||
|
||||
mako_template = textwrap.dedent("""
|
||||
<%page expression_filter="h"/>
|
||||
${x | n, strip_all_tags_but_br}
|
||||
""")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user