vkiryukhin/vkBeautify — pull request #5 by bbpennel (2013-07-01 17:30:52+00:00)
Title: Trailing whitespace added to text of elements with namespaces

An issue I'm having is that when a tag contains a namespace it causes the closing tag of the element to drop to a new line and indent, which adds additional whitespace into the text.

```javascript
vkbeautify.xml('Text');
```
Produces:
```xml

Text

```
This pull request prevents that newline and indent from being added to elements when they have namespaces.
```javascript

test

```

Indentation should still be working correctly for elements nested in elements with namespaces.

```javascript
vkbeautify.xml('');
```
Produces:
```xml

```

And thanks for making this great tool!