mythz/jquip — Issue #5: append
Author: jeyb
Created: 2011-11-21 01:28:59+00:00
State: open

The append function doesn't take into account that setting `innerHTML` requires the content to be properly nested. Example:

```javascript
$('table').append("
oh no
");
````

Would result in the `
` being stripped. jQuery get's around this by setting wrappers for the innerHTML and then picking the correct element down the tree.

Here is how I'm doing it: https://github.com/jeyb/jquip/commit/5a8a4aebe9a6d6b7e239117b45c23af172cf96c4

Would you be interesting in such an addition?