tmpvar/jsdom — pull request #485 by jankuca (2012-08-25 12:41:13+00:00)
Title: Allow innerHTML to omit optional closing tags

Hi, I implemented an option to omit optional closing tags in innerHTML results.

The feature is turned off by default and you can allow it by specifying the `optionalClosing: true` option.

To illustrate, here are two examples of the output with and without the feature:

```html

Lorem ipsum.

Dolor sit amet.

Lorem ipsum.

Dolor sit amet.
```

```html

Lorem
Ipsum

Lorem
Ipsum

```

This feature follows the [Google HTML/CSS Style Guildelines](http://google-styleguide.googlecode.com/svn/trunk/htmlcssguide.xml#Optional_tags).

No current functionality has been altered and no tests have been broken.