Hello, I am using the javascript api .InsertHtml function. For some reason, FCKeditor is adding br's when it shouldn't. Here is exactly what I'm doing.
editor.InsertHtml('<blockquote><div style="width: 100%; background: black;">Test</div>This is a test</blockquote>');
As soon as I run that, it looks fine in the editor itself. After I hit submit the html has these extra brs in it:
<blockquote><br/><div style="width: 100%; background: black;">Test</div><br/>This is a test</blockquote>
One before and one after the div tag.
Any help would be greatly appreciated. Thanks.
editor.InsertHtml('<blockquote><div style="width: 100%; background: black;">Test</div>This is a test</blockquote>');
As soon as I run that, it looks fine in the editor itself. After I hit submit the html has these extra brs in it:
<blockquote><br/><div style="width: 100%; background: black;">Test</div><br/>This is a test</blockquote>
One before and one after the div tag.
Any help would be greatly appreciated. Thanks.

RE: adds br when it shouldn't
<blockquote>
<BR/><table width="100%">
<BR/> <tbody>
<BR/> <tr>
<BR/> <td>Test:</td>
<BR/> </tr>
<BR/> <tr>
<BR/> <td>
<BR/>
...
I searched this forum and found another post of a guy with the same problem, but he didn't get any replies.
Please help!! Thanks.
RE: adds br when it shouldn't
if they don't appear there then they are added after FCKeditor has output the html, or maybe in the way that you read the data at the server (some routine to clean up carriage returns that change them to <BR/>)
Search all your source for "<BR/>" as FCKeditor would have output "<br />" in lower case and with a space before />
RE: adds br when it shouldn't
Thanks.
RE: adds br when it shouldn't
Thanks!