Fix for bug 30172. Add a line break before and after the link tag when sending a page or a link. R=rhp, A=jar

This commit is contained in:
ducarroz%netscape.com 2000-03-04 16:54:36 +00:00
parent 16f4e56c75
commit dcbbacb3fe

View File

@ -227,12 +227,19 @@ function ComposeStartup()
if (args.body) //We need to set the body before setting
//msgCompose.editor;
{
if (args.bodyislink == "true" && msgCompose.composeHTML)
{
msgCompFields.SetBody("<A HREF=\"" + args.body +
"\">" + unescape(args.body)
+ "</A>");
}
if (args.bodyislink == "true")
{
if (msgCompose.composeHTML)
{
msgCompFields.SetBody("<BR><A HREF=\"" + args.body +
"\">" + unescape(args.body)
+ "</A><BR>");
}
else
{
msgCompFields.SetBody("\n" + args.body + "\n");
}
}
else
{
msgCompFields.SetBody(args.body);