Amaya 8.7 WinXP bugs: span inside a span

Hi,

Amaya 8.7 for Windows XP has problems when a span is created and the
selection has already an span inside it.

Bug 1:
Steps to reproduce:
  * Type the following text:
      <p>one two three four five<p>
  * Double click "three" and click the Strong button:
     <p>one two <strong>three</strong> four five</p>
  * Select "two three four" and click the Em button:
     <p>one <em>two </em><strong><em>three</em></strong><em>
four</em>five</p>
   * Save and reload the document
Problem:
  * the spaces between "two" and "three" and between "three" and "four"
    have disappeared

Bug 2:
Steps to reproduce:
  * Type the following text:
      <p>one two three four five<p>
  * Double click "three" and give it an "aaa" class:
     <p>one two <span class="aaa">three</span> four five</p>
  * Select "two three four" and give it a "bbb" class
     <p>one <span class="bbb">two </span><span class="bbb">three</span><span
class="bbb"> four</span> five</p>
  * Save and reload the document
Problems:
  * the spaces between "two" and "three" and between "three" and
    "four" have disappeared, as before.
  * the "aaa" class has disappeared

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

Received on Monday, 22 November 2004 18:33:09 UTC