Skip to content

Tidy command adds extra spaces to XML declarations #1

@kristoferjoseph

Description

@kristoferjoseph

Steps to reproduce:

  1. in a script block declare a variable as a formatted XML block.
    EXAMPLE:
 
        
                                       foo
                                       bar
                                       baz
                                    ;
        ]]>

  1. run the tidy command.

Expected result:
You would expect the tidy command to only format the xml block once

Actual result:
The xml variable is formatted as many times as you run the tidy command. Creating huge spaces between xml nodes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions