hi, all.

I'm working with ranges, pasting html using Internet Explorer's pasteHTML() function. problem is that sometimes the browser will add random elements without being told so.

for instance, I'll paste some text inside a H1 heading, and it'll put another heading right below it, messing up all the layout.

any idea why this is happening? is it just IE that sucks?