Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace illegal character & in sp_Blitz for Markdown output result #3594

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

igaliney
Copy link
Contributor

@igaliney igaliney commented Dec 5, 2024

When I run a procedure with the following parameter "exec dbo.sp_Blitz @OutputType = 'Markdown'", I expected to see the output result in Markdown format. However, I received the following error instead:

Msg 9421, Level 16, State 1, Procedure dbo.sp_Blitz, Line 10347 [Batch Start Line 0] XML parsing: line 63, character 37, illegal name character.

The issue is caused by an illegal character (&) in the description of the Finding column for CheckID = 162. To resolve this issue, update the description to replace & with and, ensuring XML compatibility.

The issue is caused by an illegal character (&) in the description of the Finding column for CheckID = 162. To resolve this issue, update the description to replace & with and, ensuring XML compatibility.
Copy link
Member

@BrentOzar BrentOzar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the pull request! Looks good, merging into the dev branch, will be in the next release with credit to you in the release notes.

@BrentOzar BrentOzar added this to the 2025-01 Release milestone Dec 6, 2024
@BrentOzar BrentOzar merged commit 21cfa5f into BrentOzarULTD:dev Dec 6, 2024
3 checks passed
@igaliney igaliney deleted the patch-1 branch December 10, 2024 07:00
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.

2 participants