don't append text, replace it; won't work in IE8 but a lot of our code won't actually... use innerText fallback if you really want to support IE8...
test for style preservation
Merge branch 'moar-tests' into refactor-bs
fix to preserve style