Amaya 9.3 RC bug: span within a span

Hi,

In Amaya 9.3 RC, a span element is not properly created if the selected 
text already contains a span.

Steps to reproduce
1. Write some text
    example: <p>One two three four five</p>
2. Select some text and create a span element giving it a class
    example: <p>One two <span class="first">three</span> four five</p>
    By the way, after the creation of the span, the attribute window
    shows the class atribute until another element is selected using F2.
3. Select some text containing a span element and create another span
    expected: <p>One <span class="second">two <span
                 class="first">three</span> four</span> five</p>
    result: <p>One <span class="second">two </span><span 

            class="second">three</span><span
            class="second"> four</span> five</p>
    The first class has disappeared. By the way, the white spaces have
    also disappeared, but this is an old bug I have reported several
    times.

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

Received on Sunday, 4 December 2005 22:17:46 UTC