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

NormalizeWhitespace breaks multi-line comments #76856

Open
kierenj opened this issue Jan 22, 2025 · 0 comments
Open

NormalizeWhitespace breaks multi-line comments #76856

kierenj opened this issue Jan 22, 2025 · 0 comments
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead

Comments

@kierenj
Copy link

kierenj commented Jan 22, 2025

Version Used:

4.12.0

Steps to Reproduce:
Parse this code:

        /**
         * 
         * Escape XML special characters
         */
        private String EscapeXML(String str)
        {
...

Call .NormalizeWhitespace().ToFullString() and observe the output.

Expected Behavior:

Something similar or identical to the input.

Actual Behavior:

        ///
        /// 
        /// Escape XML special characters
        //////private String EscapeXML(String str)
        {
...
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

No branches or pull requests

1 participant