Skip to content

NormalizeWhitespace breaks multi-line comments #76856

@kierenj

Description

@kierenj

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)
        {
...

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions