Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

Commit 277237c

Browse files
authored
#82 strip whitespace from HTML (#83)
1 parent daaca7f commit 277237c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kube_resource_report/report.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -872,6 +872,8 @@ def write_report(output_path: Path, start, notifications, cluster_summaries, nam
872872
env = Environment(
873873
loader=FileSystemLoader(str(templates_path)),
874874
autoescape=select_autoescape(["html", "xml"]),
875+
trim_blocks=True,
876+
lstrip_blocks=True
875877
)
876878
env.filters["money"] = filters.money
877879
env.filters["cpu"] = filters.cpu

0 commit comments

Comments
 (0)