File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed
cve_bin_tool/output_engine Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -64,10 +64,7 @@ def output_html(
64
64
65
65
# Template Directory contains all the html files
66
66
templates_dir = os .path .join (root , "html_reports" )
67
- templates_env = Environment (
68
- loader = FileSystemLoader ([theme_dir , templates_dir ]),
69
- autoescape = select_autoescape (["html" ]),
70
- )
67
+ templates_env = Environment (loader = FileSystemLoader ([theme_dir , templates_dir ]))
71
68
72
69
temp_base = "templates/base.html"
73
70
temp_dash = "templates/dashboard.html"
Original file line number Diff line number Diff line change @@ -17,10 +17,7 @@ def html_print_mode(
17
17
18
18
root = os .path .dirname (os .path .abspath (__file__ ))
19
19
templates_dir = os .path .join (root , "print_mode" )
20
- templates_env = Environment (
21
- loader = FileSystemLoader (templates_dir ),
22
- autoescape = select_autoescape (["html" ]),
23
- )
20
+ templates_env = Environment (loader = FileSystemLoader (templates_dir ))
24
21
25
22
temp_showcase = "templates/showcase.html"
26
23
temp_content = "templates/content.html"
You can’t perform that action at this time.
0 commit comments