partial fix for 85963 (add alt tag for images inserted via d&d from OS)

git-svn-id: svn://10.0.0.236/trunk@97492 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
brade%netscape.com 2001-06-19 23:56:22 +00:00
parent 3ad1fbf1c0
commit af48215dd3
2 changed files with 2 additions and 2 deletions

View File

@ -624,7 +624,7 @@ NS_IMETHODIMP nsHTMLEditor::InsertFromTransferable(nsITransferable *transferable
{
stuffToPaste.AssignWithConversion ( "<IMG src=\"", 10);
stuffToPaste.AppendWithConversion ( urltext, len );
stuffToPaste.AppendWithConversion ( "\">" );
stuffToPaste.AppendWithConversion ( "\" alt=\"\" >" );
}
else /* insert as link */
{

View File

@ -624,7 +624,7 @@ NS_IMETHODIMP nsHTMLEditor::InsertFromTransferable(nsITransferable *transferable
{
stuffToPaste.AssignWithConversion ( "<IMG src=\"", 10);
stuffToPaste.AppendWithConversion ( urltext, len );
stuffToPaste.AppendWithConversion ( "\">" );
stuffToPaste.AppendWithConversion ( "\" alt=\"\" >" );
}
else /* insert as link */
{