fix(html): remove first empty line (#7608)

Co-authored-by: Pedro Martín <pedromarting3@gmail.com>
This commit is contained in:
Prowler Bot
2025-04-24 17:27:31 +02:00
committed by GitHub
parent a1326022e5
commit 5df1e163ee
3 changed files with 4 additions and 5 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ All notable changes to the **Prowler SDK** are documented in this file.
- Add the correct values for logger.info inside iam service [(#7526)](https://github.com/prowler-cloud/prowler/pull/7526).
- Update S3 bucket naming validation to accept dots [(#7545)](https://github.com/prowler-cloud/prowler/pull/7545).
- Handle new FlowLog model properties in Azure [(#7546)](https://github.com/prowler-cloud/prowler/pull/7546).
- Remove invalid parameter `create_file_descriptor` [(#7600)](https://github.com/prowler-cloud/prowler/pull/7600)
- Remove first empty line in HTML output [(#7606)](https://github.com/prowler-cloud/prowler/pull/7606)
- Remove invalid parameter `create_file_descriptor` in NHN provider [(#7600)](https://github.com/prowler-cloud/prowler/pull/7600)
---
+1 -2
View File
@@ -106,8 +106,7 @@ class HTML(Output):
"""
try:
file_descriptor.write(
f"""
<!DOCTYPE html>
f"""<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+1 -2
View File
@@ -233,8 +233,7 @@ def get_aws_html_header(args: list) -> str:
Returns:
str: HTML header for AWS
"""
aws_html_header = f"""
<!DOCTYPE html>
aws_html_header = f"""<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />