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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user