Amaya 9.0pre4 WinXP bug: undoing a link

Hi,

The undo command does not work properly in Amaya 9.0pre4 for WinXP.

Steps to reproduce:
1. Create two paragraphs of one word.
2. Select the second one and create a target (Links > Create a target)
  For instance, the html source can be:
      <p>Link</p>
      <p id="Target">Target</p>
3. Select the first one and create a link (Links > Links to previous target)
  The source code is then:
      <p><a xml:lang="" lang="" href="#Target">Link</a></p>
      <p id="Target">Target</p>
4. Undo the last command (Edit > Undo)
  The source code is then:
   <p>Link<a xml:lang="" lang="">Link</a></p>
   <p id="Target">Target</p>

I think the problem is due to the invalid xml:lang and lang attributes in
the <a> tag (see my posts
http://lists.w3.org/Archives/Public/www-amaya/2004OctDec/0246.html
and
http://lists.w3.org/Archives/Public/www-amaya/2004OctDec/0256.html)

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

Received on Monday, 20 December 2004 19:20:55 UTC