﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6476	Line break character should not be inserted if elements only contain text nodes.	Joe Kavanagh		"The HTML writer inserts line break characters after closing the opening tag. For a table this results in the follow data being returned by editor.getData():

{{{
<table border=""1"" cellpadding=""1"" cellspacing=""1"" style=""width: 500px;"">
  <caption>
     The Table Caption</caption>
  <tbody>
     <tr>
        <td>
           Cell00</td>
        <td>
           Cell01</td>
     </tr>
     <tr>
        <td>
           Cell10</td>
        <td>
           Cell11</td>
     </tr>
  </tbody>
</table>
}}}

The additional line breaks have changed the data. The table caption that was entered by the user was ""The Table Caption"", whereas getData() returns ""\nThe Table Caption"". The table markup should be returned as:

{{{
<table border=""1"" cellpadding=""1"" cellspacing=""1"" style=""width: 500px;"">
  <caption>The Table Caption</caption>
  <tbody>
     <tr>
        <td>Cell00</td>
        <td>Cell01</td>
     </tr>
     <tr>
        <td>Cell10</td>
        <td>Cell11</td>
     </tr>
  </tbody>
</table>
}}}
"	Bug	closed	Normal		General	3.5	invalid	IBM	Damian
