Skip to content

Conversation

@NssGourav
Copy link

This PR replaces the use of pprint with saneyaml.dump for rendering SSVC decision tree data in the advisory detail template, as requested in issue #2089.

Related Issues

Fixes #2089

Originally requested in PR #2050 (comment) by @pombredanne

- Add yaml_dump template filter using saneyaml.dump()
- Update advisory_detail.html to use yaml_dump instead of pprint
- Provides deterministic YAML output for SSVC options

Fixes aboutcode-org#2089
@TG1999
Copy link
Contributor

TG1999 commented Jan 2, 2026

@NssGourav please add some screenshot in UI for same. Thanks!=

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use saneyaml dump for SSVC, not a pprint

2 participants