Closed
Bug 142366
Opened 23 years ago
Closed 21 years ago
Incorrect insertion of HTML templates
Categories
(MailNews Core :: Composition, defect)
MailNews Core
Composition
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: web, Assigned: bugzilla)
References
(Blocks 1 open bug)
Details
I have created this template, and it illustrates the problem. When using an HTML
template to create a Message,I think that some strings are counted from the
second character (1?) to the length of the string, instead of the first
character (0?) to the length of the string. In addition, the mail message is not
valid HTML, due to the way the template is inserted into the message. I used the
*Link* constructor in the Composer:-
TEMPLATE
========
<html>
<head>
<link rel="important stylesheet" href="chrome://messenger/skin/messageBody.css">
</head>
<body>
<table border=0 cellspacing=0 cellpadding=0 width="100%"
class="header-part1"><tr><td><b>Subject: </b>Simple</td></tr><tr><td><b>From:
</b>G J Boris Allan <BorisAllan@socialepistemics.com></td></tr><tr><td><b>Date:
</b>Fri, 03 May 2002 22:38:18 -0400</td></tr></table><br>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type"
content="text/html;charset=ISO-8859-15">
<title></title>
</head>
<body text="#330033" bgcolor="#ffffcc" link="#6600cc" vlink=""
alink="#3366ff" background="file:///D:/BoRiS%20Docs/Images">
<meta http-equiv="Content-Type" content="text/html;">
<title></title>
<font color="#330033"><br>
</font>
<p><font color="#330033">G J Boris Allan [<a
href="mailto:borisallan@socialepistemics.com">BorisAllan@SocialEpistemics.com</a>]</font></p>
<p><font color="#330033"> </font></p>
<address><font color="#330033">-- </font></address>
<address><font color="#330033">Social Epistemics</font></address>
<address><font color="#330033"> PO Box 11199</font></address>
<address><font color="#330033">Takoma Park, MD</font></address>
<address><font color="#330033">USA - 20913</font></address>
<p>[<a href="http://SocialEpistemics.com">http://SocialEpistemics.com</a>]</p>
<address> </address>
</body>
</html>
</body>
</html>
MESSAGE
=======
<html>
<head>
<link rel="important stylesheet" href="chrome://messenger/skin/messageBody.css">
</head>
<body>
<table border=0 cellspacing=0 cellpadding=0 width="100%"
class="header-part1"><tr><td><b>Subject: </b>Test</td></tr><tr><td><b>From:
</b>G J Boris Allan <BorisAllan@socialepistemics.com></td></tr><tr><td><b>Date:
</b>Sun, 05 May 2002 07:58:58 -0400</td></tr></table><table border=0
cellspacing=0 cellpadding=0 width="100%" class="header-part2"><tr><td><b>To:
</b>borisallan@socialepistemics.com</td></tr></table><br>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<br>
<div class="moz-signature">-- <br>
<br>
<p><font color="330033"">G J Boris Allan [<a
href="ailto:borisallan@socialepistemics.com%22">BorisAllan@SocialEpistemics.com</a>]</font></p>
<p><font color="330033""> </font></p>
<address><font color="330033"">Social Epistemics</font></address>
<address><font color="330033""> PO Box 11199</font></address>
<address><font color="330033"">Takoma Park, MD</font></address>
<address><font color="330033"">USA - 20913</font></address>
<p>[<a href="ttp://SocialEpistemics.com%22">http://SocialEpistemics.com</a>]</p>
</div>
</body>
</html>
</body>
</html>
Comment 1•23 years ago
|
||
Confirmed, note
<a href="ttp://SocialEpistemics.com%22">
and
<a
href="ailto:borisallan@socialepistemics.com%22">
in the generated message.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•23 years ago
|
||
sound bad. nominating
Comment 3•23 years ago
|
||
Discussed in mail news bug meeting. Decided to minus this bug.
Updated•22 years ago
|
Blocks: HTML-compose-tracker
Comment 4•21 years ago
|
||
Boris Allen, is this bug still occurring for you? If I'm reading the template
correctly, it appears that at one time, all the mail headers -- To, From,
Subject -- were being handled within the HTML -- could that possibly be correct?
I've attempted to duplicate this with a simpler template, and do not see the
href strings getting truncated.
If this is working OK for you now, please mark this bug: Resolved|WorksForMe
I note that the template shown in the original report is pretty awful HTML:
there is an entire <!DOCTYPE>'d html document embedded within another complete
<html> document, and <meta> and <title> tags embedded within the innermost
<body>. I suspect that some of this problem is the result of multiple edits,
along the lines of what's seen in bug 192557.
Resetting milestone from 1.2a.
OS: Windows ME → All
Hardware: PC → All
Target Milestone: mozilla1.2alpha → ---
Comment 5•21 years ago
|
||
M. Ducarroz, I am inclined to mark this bug WFM, as the reporter does not
respond to a request for more information and I cannot duplicate it.
However, the bug is Assigned to you -- what do you think?
Assignee | ||
Comment 6•21 years ago
|
||
Feel free to mark it as WFM.
Comment 7•21 years ago
|
||
=>WFM
Boris Allen, feel free to reopen if this bug is still a problem for you,
providing more information as requested in comment 4.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Product: MailNews → Core
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•