Skip to content

Commit

Permalink
[report] Fix report generation with html strings
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisJamesC committed Oct 13, 2023
1 parent bd14aac commit fa2c9ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitoring/uss_qualifier/reports/templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def render(self):
# Configure application
rendered_configuration = json.dumps(
InjectedConfiguration(self._template.configuration, report=self._report)
)
).replace("</", "<\/") # Replace closing html tags in json strings
injected_configuration = f"""
<script id="interuss_report_json" type="application/json">
{rendered_configuration}
Expand Down

0 comments on commit fa2c9ab

Please sign in to comment.