Closed Bug 46173 Opened 25 years ago Closed 25 years ago

mimetpfl fails to detect end of tags.

Categories

(MailNews Core :: MIME, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bratell, Assigned: bratell)

Details

Attachments

(1 file)

There are code in mimetpfl to detect when a tag starts, but there's no code to detect where it ends making the full line being treated like being inside a tag which prevents SPACE ->  -conversion, which causes multiple consecutive whitespace to collapse.
Fixed this (and a glitch in bug 39728). Also factored out some duplicated code. There are more code that are duplicated for the flowed and fixed cases, but that will have to wait.
Status: NEW → ASSIGNED
Whiteboard: Fix exists. Needing review and approval.
Rich, could you review this? What I did was to keep track of if we are inside a tag or not. There are also some code to detect if we are inside a quote inside a tag so that we don't think the tag has ended when it hasn't. For instance in <a href="hjh:>>>" we are still in tag>. The fix for bug 39728 is to move the initializing of a variable outside the loop so that it doesn't get reset every iteration.
Target Milestone: --- → M17
Looks good to me - r: rhp.
The related bug is no longer bug 39728 but rather bug 46188.
Checked in.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Whiteboard: Fix exists. Needing review and approval.
changing qa
QA Contact: lchiang → esther
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: