Take a look at this:
There is a relative link in the editable div. Click on copy to source code, it looks ok. Now click on copy to editable div. Now the link are made absolute as you can see when you click again on copy to source code.

Jonathan Snook said on March 18, 2006

Ah, yes. It seems you're right. In looking over my code, I can see that even with the DEC there were times that I had to strip out the base URL using something like this:

var tmphref = el.href;
if (tmphref.lastIndexOf(baseURL) != -1)
  tmphref = tmphref.substr(baseURL.length); 
said on August 22, 2006


Sorry, comments are closed for this post. If you have any further questions or comments, feel free to send them to me directly.