Re: Amaya 11.0 WinXP bug: saving as breaks links to html files
Irene Vatton <[email protected]>
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Organization | INRIA |
| Message-ID | <[email protected]> |
Le jeudi 08 janvier 2009 à 11:30 +0100, Bartolomé Sintes Marco a écrit : > Hi, > > In Amaya 11.0 for Windows XP when a html document is saved as in another > directory, the links to html files are broken. > > Steps to reproduce: > 1. Create two directories (test1 and test2) > 2. In the test1 directory copy 3 files (test.html, test.css and test.png) > 3. In the test1 directory create a document with links to the three test > files. For instance, links.html: > <p>Link to <a href="test.html">html</a></p> > <p>Link to <a href="test.css">css</a></p> > <p>Link to <a href="test.png">png</a></p> > 4. Save the document as link2.html in the test2 directory. > Result: > <p>Link to <a href="test.html">html</a></p> > <p>Link to <a href="../test1/test.css">css</a></p> > <p>Link to <a href="../test1/test.png">png</a></p> > Expected result: > <p>Link to <a href="../test.html">html</a></p> The goal is to keep pointers to original resources. If the target of the link is the document itself, Save as should keep the link to the document itself. > <p>Link to <a href="../test1/test.css">css</a></p> > <p>Link to <a href="../test1/test.png">png</a></p> > > Best regards, > Bartolomé Sintes > http://www.mclibre.org -- Irene Vatton <[email protected]> INRIA