axelpale / filterxml

Simplify your XML by removing XML nodes that match XPath expressions
MIT License
2 stars 2 forks source link

Preserve end-of-file convention #9

Closed axelpale closed 6 months ago

axelpale commented 6 months ago

Current buggy behaviour: input XML file ends with an empty line (\n) but the output lacks the line.

Expected behaviour: output should preserve the empty line if input has it. If input does not end with an empty line then output should not exhibit that either.