Amaya 9.53 XP bug: Edit > Transform > Remove paragraph level deletes some input elements

Hi,

The "Edit > Transform > Remove paragraph level" deletes the text, file 
or password type inputs.

Steps to reproduce:

1. Create the following source code:
<table border="1">
   <caption></caption>
   <tbody>
     <tr>
       <td>Test

         <p><input type="text" /></p>
       </td>
     </tr>
   </tbody>
</table>

2. Select the p using F2 key

3. Select the "Edit > Transform > Remove paragraph level" menu

4. The input element disappears. The source code is then:
<table border="1">
   <caption></caption>
   <tbody>
     <tr>
       <td>Test</td>
     </tr>
   </tbody>
</table>

The expected source code is:
<table border="1">
   <caption></caption>
   <tbody>
     <tr>
       <td>Test <input type="text" />
       </td>
     </tr>
   </tbody>
</table>

Best regards,
Bartolomé Sintes (http://www.mclibre.org)

Received on Tuesday, 21 November 2006 18:39:22 UTC