﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5033	Invalid behavior when inserting nested divs with insertHtml()	Wiktor Walc		"=== Steps to reproduce ===
 - open _samples/api.html
 - paste this into textarea:
 {{{
 <div class=""wrapper thing""><div class=""other wrapper""><img src=""myfile.jpg"" /></div></div>
 }}}
 - click the InsertHTML button twice
 - expected result:
 {{{
<div class=""wrapper thing"">
	<div class=""other wrapper"">
		<img src=""myfile.jpg"" /></div>
</div>
<div class=""wrapper thing"">
	<div class=""other wrapper"">
		<img src=""myfile.jpg"" /></div>
</div>
 }}}
 - actual result:
 {{{
<div class=""wrapper thing"">
	<div class=""other wrapper"">
		<img src=""myfile.jpg"" />
		<div class=""wrapper thing"">
			<div class=""other wrapper"">
				<img src=""myfile.jpg"" /></div>
		</div>
	</div>
</div>
 }}}"	Bug	closed	Normal		General	3.0	invalid		
