Closed
Bug 264882
(XiHashed)
Opened 20 years ago
Closed 20 years ago
View Source turns Ξ to &#Xi;
Categories
(Core Graveyard :: View Source, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: mrbkap)
References
Details
Attachments
(3 files)
(deleted),
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
text/html
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
Whew viewing the source of an XHTML page in Firefox 1.0PR1, Ξ and ξ
entities in the source are converted to &#Xi; and &#xi; in the View Source window.
Comment 1•20 years ago
|
||
Confirmed. Strange, even in a listing with other entities, like
http://www.degraeve.com/reference/specialcharacters.php, only Ξ and ξ get
the hash sign added.
Summary: View Source turns &Xi to &#Xi; → View Source turns Ξ to &#Xi;
Updated•20 years ago
|
Assignee: firefox → mrbkap
Component: General → ViewSource
Product: Firefox → Browser
QA Contact: firefox.general → doronr
Version: 1.0 Branch → Trunk
Assignee | ||
Comment 2•20 years ago
|
||
It looks like the code that outputs view-source entities is outdated (like we
didn't used to consume the # on hex entities, so we guessed). We now *do* do
this. I'll attach a patch, but I need bug 263083 to be checked in first.
Assignee | ||
Comment 3•20 years ago
|
||
Don't prepend a # for no apparent reason.
Assignee | ||
Updated•20 years ago
|
Attachment #162594 -
Flags: superreview?(bzbarsky)
Attachment #162594 -
Flags: review?(bzbarsky)
Comment 4•20 years ago
|
||
Maybe I'm missing something, but shouldn't that
!theStr.LowerCaseEqualsLiteral("xi") check ensure that we don't muck with ξ?
What's the value of theStr coming throught this code for:
"ξ", "e", "A" ?
Assignee | ||
Comment 5•20 years ago
|
||
These are some edge cases. Basically this is bz's list... View the source to
test.
Comment 6•20 years ago
|
||
Comment on attachment 162594 [details] [diff] [review]
patch v1
r+sr=bzbarsky if you just pass through GetStringValue() without assigning into
theStr (I think that should be safe, but check).
Attachment #162594 -
Flags: superreview?(bzbarsky)
Attachment #162594 -
Flags: superreview+
Attachment #162594 -
Flags: review?(bzbarsky)
Attachment #162594 -
Flags: review+
Reporter | ||
Updated•20 years ago
|
Alias: XiHashed
Reporter | ||
Comment 7•20 years ago
|
||
Special casing "xi" is the wrong way to go.
This bug also affects MathML named entities beginning with "x" -- and it would
be ludicrous to also special case xwedge, xvee, xnis, xcap, xcup, xnis, xutri,
xdtri, xlarr, xrarr, xharr, xlArr, xrArr, xhArr, xmap, xodot, xoplus, xotime,
xuplus, xsqcup, Xscr, xscr, Xfr, xfr, Xopf, and xopf.
Comment 8•20 years ago
|
||
Robin, did you actually read the patch?
Assignee | ||
Comment 9•20 years ago
|
||
For reference, this is the patch that will be checked in once the tree reopens.
Assignee | ||
Comment 10•20 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•