DotJoshJohnson / vscode-xml

XML Tools for Visual Studio Code
MIT License
324 stars 86 forks source link

Format document adds trailing whitespace #288

Closed vrevelas closed 4 years ago

vrevelas commented 5 years ago

Description Formatting the following text causes a single trailing space to be added to each line containing an rdf attribute.

<?xml version="1.0" encoding="UTF-8"?>

<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns="http://purl.org/rss/1.0/"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:syn="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/">

</rdf:RDF>

Extension Version 2.5.0

VS Code Version 1.38.1

Operating System Ubuntu 18.04