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

Commit

Permalink
#82 strip whitespace from HTML (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs authored May 13, 2019
1 parent daaca7f commit 277237c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions kube_resource_report/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -872,6 +872,8 @@ def write_report(output_path: Path, start, notifications, cluster_summaries, nam
env = Environment(
loader=FileSystemLoader(str(templates_path)),
autoescape=select_autoescape(["html", "xml"]),
trim_blocks=True,
lstrip_blocks=True
)
env.filters["money"] = filters.money
env.filters["cpu"] = filters.cpu
Expand Down

0 comments on commit 277237c

Please sign in to comment.