Skip to content
This repository has been archived by the owner on Apr 4, 2019. It is now read-only.

Prevent void elements from always including a comment node. #346

Merged
merged 1 commit into from
May 18, 2015

Conversation

rwjblue
Copy link
Collaborator

@rwjblue rwjblue commented May 18, 2015

Prior to this change calling manualElement('input', {}) would result in the following DOM:

<input><!-- --></input>

This is incorrect because input is a void element.


Addresses emberjs/ember.js#11157.

Prior to this change calling `manualElement('input', {})` would result in the
following DOM:

```html
<input><!-- --></input>
```

This is incorrect because `input` is a void element.
rwjblue added a commit that referenced this pull request May 18, 2015
Prevent void elements from always including a comment node.
@rwjblue rwjblue merged commit 3930145 into tildeio:master May 18, 2015
@rwjblue rwjblue deleted the prevent-void-from-including-comment branch May 18, 2015 11:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant