always absolutize urls in html copy encoder (doing the right thing is covered in bug #32768)

git-svn-id: svn://10.0.0.236/trunk@85429 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com
2001-01-24 14:59:57 +00:00
parent 1836f3e4f9
commit cb21c78be0
2 changed files with 6 additions and 2 deletions

View File

@@ -1025,7 +1025,9 @@ nsHTMLCopyEncoder::Init(nsIDocument* aDocument,
mMimeType = NS_LITERAL_STRING("text/html");
mFlags = aFlags;
// Make all links absolute when copying
// (see related bugs #57296, #41924, #58646, #32768)
mFlags = aFlags | OutputAbsoluteLinks;
nsresult rv;
mParserService = do_GetService(kParserServiceCID, &rv);