Browse Source

Merge "Set autoescape=True to resolve Bandit B701 error"

Zuul 1 week ago
parent
commit
0cf4fb0523
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      spyglass/site_processors/site_processor.py

+ 1
- 1
spyglass/site_processors/site_processor.py View File

@@ -48,7 +48,7 @@ class SiteProcessor(BaseProcessor):
48 48
         for dirpath, dirs, files in os.walk(template_dir_abspath):
49 49
             for filename in files:
50 50
                 j2_env = Environment(
51
-                    autoescape=False,
51
+                    autoescape=True,
52 52
                     loader=FileSystemLoader(dirpath),
53 53
                     trim_blocks=True,
54 54
                 )

Loading…
Cancel
Save