@@ -57,11 +57,11 @@ class HTMLReport(Report):
5757 <body>
5858 <a href="./home.html"><h1>CodeSecTools All SAST Tools Report</h1></a>
5959 <h3>SAST Tools used: [sasts]</h3>
60- <h2>[name]</h2>
60+ <h2>[cstools- name]</h2>
6161 <pre style="font-family:Menlo,'DejaVu Sans Mono',consolas,'Courier New',monospace"><code style="font-family:inherit">{code}</code></pre>
6262 <script src="https://unpkg.com/@popperjs/core@2"></script>
6363 <script src="https://unpkg.com/tippy.js@6"></script>
64- <script>[tippy_calls]</script>
64+ <script>[cstools- tippy_calls]</script>
6565 <a href="#" id="top">^</a>
6666 </body>
6767 </html>
@@ -164,12 +164,12 @@ def generate_single_defect(self, defect_file: dict) -> str:
164164 html_content = file_page .export_html (code_format = self .TEMPLATE )
165165 html_content = html_content .replace ('href="HACK' , 'id="' )
166166 html_content = html_content .replace (
167- "[name]" ,
167+ "[cstools- name]" ,
168168 str (
169169 Path (defect_file ["source_path" ]).relative_to (self .result .source_path ) # ty:ignore[no-matching-overload]
170170 ),
171171 )
172- html_content = html_content .replace ("[tippy_calls]" , tippy_calls )
172+ html_content = html_content .replace ("[cstools- tippy_calls]" , tippy_calls )
173173
174174 return html_content
175175
@@ -218,7 +218,7 @@ def generate(self) -> None:
218218 home_page .print (main_table )
219219 html_content = home_page .export_html (code_format = self .TEMPLATE )
220220 html_content = html_content .replace (
221- "[name]" , f"Project: { self .result .source_path } "
221+ "[cstools- name]" , f"Project: { self .result .source_path } "
222222 )
223223
224224 report_home_file = self .report_dir / "home.html"
0 commit comments