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

This commit is contained in:
brade%netscape.com 2001-06-19 23:56:22 +00:00
parent 13421beafe
commit 285a89a3cb
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 */
{