mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-18 14:56:07 +00:00
Bug 732585 - Drag and drop images into message window is broken; r=roc
This commit is contained in:
parent
5b05bfee0b
commit
7fd57e8b1a
@ -1292,7 +1292,7 @@ nsresult nsHTMLEditor::InsertObject(const char* aType, nsISupports* aObject, boo
|
||||
|
||||
nsAutoString stuffToPaste;
|
||||
stuffToPaste.AssignLiteral("<IMG src=\"data:");
|
||||
AppendUTF8toUTF16(aType, stuffToPaste);
|
||||
AppendUTF8toUTF16(type, stuffToPaste);
|
||||
stuffToPaste.AppendLiteral(";base64,");
|
||||
AppendUTF8toUTF16(base64, stuffToPaste);
|
||||
stuffToPaste.AppendLiteral("\" alt=\"\" >");
|
||||
|
Loading…
x
Reference in New Issue
Block a user