﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
17537	TinyMCE mangles <map></map> construct	vdhamer		"I entered the following in TinyMCE HTML mode. When I switch from HTML mode to Visual mode and back to HTML mode, I see that the code has been mangled. Saving it and viewing it confirms that the Map is now broken.

This happens in the 3.2 beta nightly. I double checked that it doesn't happen in the 3.1.2 version.

== Original and intended HTML input ==
Note the 3 <area>s defined inside <map>

{{{
<p style=""text-align: center;""><img class=""aligncenter size-full 
wp-image-3438"" src=""Home3.jpg"" alt="""" width=""940"" height=""880"" 
usemap=""#homepagemap"" /></p>

<map name=""homepagemap"">
  <area shape=""rect"" coords=""15,15,75,95"" href=""hrefA"" title=""textA""/>
  <area shape=""rect"" coords=""82,15,142,95"" href=""hrefB"" title=""textB""/>
  <area shape=""rect"" coords=""147,15,207,95"" href=""hrefC"" title=""textC""/>
</map>
}}}

== Mangled output ==
There are now 3 <area>s defined in 3 separate <map>s with the same name. This is incorrect.

{{{
<p style=""text-align: center;""><img class=""aligncenter size-full 
wp-image-3438"" src=""Home3.jpg"" alt="""" width=""940"" height=""880"" 
usemap=""#homepagemap"" /></p>

<map name=""homepagemap""> <area title=""textA"" shape=""rect"" 
coords=""15,15,75,95"" href=""hrefA"" /></map>
<map name=""homepagemap""> <area title=""textB"" shape=""rect"" 
coords=""82,15,142,95"" href=""hrefB"" /></map>
<map name=""homepagemap""> <area title=""textC"" shape=""rect"" 
coords=""147,15,207,95"" href=""hrefC"" /></map>
}}}"	defect (bug)	closed	normal	3.2	Formatting	3.2	normal	maybelater		sheri@… Ken@…
