Fix #1078 - part 2
Add test for #1078 - part 2
Fix #1078 - part 3 - contenteditable toHTML()
Merge pull request #1083 from ractivejs/gh-1078-2

Fix #1078