﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8033	Fake element get to many paragraphs	datalink		"I've written a little plugin for a google map. It places a div with the map source inside. The div has class ""googlemapsframe"" and if it's opened in editor it is replaced by fake element.[[BR]]
HTML source is:
{{{
<div class=""googlemapsframe"" style=""height: 300px; width: 500px"">
  ... GOOGLE MAP SOURCE ...
</div>
}}}
After fake element replacing editor produces:
{{{
<p>
  <div class=""googlemapsframe"" style=""height: 300px; width: 500px"" width=""500"">
    ... GOOGLE MAP SOURCE ...
  </div>
</p>
}}}
And after saving and reopening editor produce new paragraphs before and behind fake element.[[BR]]
First reopen:
{{{
<p>
  &nbsp;</p>
<p>
  <div class=""googlemapsframe"" style=""height: 300px; width: 500px"" width=""500"">
    ... GOOGLE MAP SOURCE ...
  </div>
</p>
<p>
  &nbsp;</p>
}}}
Second reopen:
{{{
<p>
  &nbsp;</p>
<p>
  &nbsp;</p>
<p>
  <div class=""googlemapsframe"" style=""height: 300px; width: 500px"" width=""500"">
    ... GOOGLE MAP SOURCE ...
  </div>
</p>
<p>
  &nbsp;</p>
<p>
  &nbsp;</p>
}}}
And so on.
[[BR]]
[[BR]]
Another problem is the width=""500"" that is set from createFakeElement function. Should I open a new ticket for it?"	Bug	closed	Normal		Core : Parser		invalid		d.efrcz@…
