Closed Bug 147494 Opened 22 years ago Closed 22 years ago

Awful indentation of html from composer

Categories

(Core :: DOM: Serializers, defect)

defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: u32858, Assigned: harishd)

References

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc2) Gecko/20020510
BuildID:    2002051013

after saving some normal html it came out all spaced out and horrible to read



Reproducible: Always
Steps to Reproduce:
1.open a compilcated file with some tables and links etc
2.edit it a bit and save it
3.

Actual Results:  <p>
<table width="100%">
                  <tbody>
                     <tr>
                  <td>temp<br>
               </td>
                  </tr>
                   <tr>
                  <td><br>

      <p><br>
 </p>

              </td>
                  </tr>

  </tbody>
</table>
                 </p>



<tr>
                      <td valign="middle"><small>
                                </small>
      <center><font size="-1">June 2001 - June 2002</font></center>
      <small>                      </small></td>
                    </tr>


Expected Results:  <p>
<table width="100%">
 <tbody>
  <tr>
   <td>temp<br></td>
  </tr>
  <tr>
   <td><br>
       <p><br></p></td>
  </tr>
 </tbody>
</table>
</p>


<tr>
  <td valign="middle"><center><font size="-1">June 2001 - June
2002</font></center></td>
</tr>

Netscape 4.7 edited this file fine in composer
-->DOM to text conversion since it's highly likely that saving html complete in
the browser will also cause this
Assignee: syd → harishd
Component: Editor: Composer → DOM to Text Conversion
Confirming.  The patch I am working on for bug 145196 fixes this.  Setting
dependency.
Status: UNCONFIRMED → NEW
Depends on: 145196
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
Was fixed a while ago when my fix for bug 145196 was check in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.