Skip to content

Use description markup in summary tables - #168

Open
Synchro wants to merge 4 commits into
radicallyopensecurity:mainfrom
Synchro:findingFormat
Open

Use description markup in summary tables#168
Synchro wants to merge 4 commits into
radicallyopensecurity:mainfrom
Synchro:findingFormat

Conversation

@Synchro

@Synchro Synchro commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

The recommendation summary table uses the full markup of whatever is put in recommendation or recommendation_summary tags, but the description and description_summary used in the finding summary table do not act the same way. For the most part these sections don't have much markup in, but lists and code markup are common, and it's a pity to lose them.

This is because the descriptions are inserted using <xsl:value-of select="findingDescription" />, which strips markup. This PR changes it to <xsl:copy-of select="findingDescription/node()"/> in 2 places, and <xsl:apply-templates select="description_summary" mode="summarytable"/> in another.

Tested in a real project, works nicely. Same fix applies to HTML rendering, but that doesn't get much use.

@Synchro

Synchro commented Aug 26, 2026

Copy link
Copy Markdown
Contributor Author

I'm not sure why those 2 older commits are in here - they were merged last week!

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.

1 participant