Closed Bug 272608 Opened 20 years ago Closed 17 years ago

bonsai shows   in title

Categories

(Webtools Graveyard :: Bonsai, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Biesinger, Assigned: bear)

References

()

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

<TITLE>Checkins to directory mozilla/toolkit by cbiesinger%web.de since
2004-02-01&amp;nbsp;00:00 :</TITLE>

this & should not be escaped...
QA Contact: timeless → bonsai
simple fix to make the &nbsp; not get quoted - the & quoting was a bit too aggressive
Assignee: tara → bear
Status: NEW → ASSIGNED
Attachment #307331 - Flags: review?(cls)
Comment on attachment 307331 [details] [diff] [review]
patch to make html_quote ignore &nbsp;

I think a more in-depth fix is required since we're obviously encoding something twice which isn't guaranteed to work. 

I think the better fix would be to change the date string to not contain the &nbsp; .  The only reason I can think of to use &nbsp; is to prevent (or is it to cause?) wrapping.
Attachment #307331 - Flags: review?(cls) → review-
(In reply to comment #3)
> (From update of attachment 307331 [details] [diff] [review])
> I think a more in-depth fix is required since we're obviously encoding
> something twice which isn't guaranteed to work. 
> 
> I think the better fix would be to change the date string to not contain the
> &nbsp; .  The only reason I can think of to use &nbsp; is to prevent (or is it
> to cause?) wrapping.
> 

Yep - it was added to prevent the date range from being wrapped so the two dates are on different lines.

I don't think we are encoding it twice, the bug is that the & in &nbsp; is being  encoded to &amp; when it shouldn't be and generating a string of &amp;nbsp;

Attachment #307331 - Attachment is obsolete: true
Attachment #308009 - Flags: review?(cls)
Comment on attachment 308009 [details] [diff] [review]
patch to make html_quote ignore &nbsp;

What I meant was that maybe we shouldn't be encoding the &nbsp; in the original date string but I'm not seeing a quick way around that.

rs=cls
Attachment #308009 - Flags: review?(cls) → review+
patch applied

/cvsroot/mozilla/webtools/bonsai/globals.pl,v  <--  globals.pl
new revision: 1.52; previous revision: 1.51
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: Webtools → Webtools Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: