madrobby/zepto — pull request #487 by EndangeredMassa (2012-04-19 16:18:01+00:00)
Title: Self-closing html tags act as open tags

When creating DOM elements with an html string, self-closing html tags are interpreted by the browser and opening tags only. This happens when you set `innerHTML` on an element.

Happens Now:

```
$('

')

```

Expect to Happen:

```
$('

')

```

To fix this, jQuery will split any self-closing tags into open-close tags before creating the elements. This pull request implements that technique in Zepto. I also added a test for this scenario.

jQuery Implementation Reference: https://github.com/jquery/jquery/blob/master/src/manipulation.js#L674