Closed
Bug 297204
Opened 20 years ago
Closed 20 years ago
HTML that has "template <class T>" does not show the first < correctly
Categories
(Firefox :: General, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 107320
People
(Reporter: ilya.rozenberg, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
HTML that has
"template <class T>"
it does not show the first < correctly
Reproducible: Always| Reporter | ||
Updated•20 years ago
|
Summary: HTML that "template <class T>" does not show the first < correctly → HTML that has "template <class T>" does not show the first < correctly
Comment 1•20 years ago
|
||
Reporter, can you attach a testcase using https://bugzilla.mozilla.org/attachment.cgi?bugid=297204&action=enter please? Thanks!
Comment 2•20 years ago
|
||
Reporter, the correct way to use character entities is by ending with a semi-colon: < > Instead of "template <class T>" it should be "template <class T>" ->INVALID
Comment 3•20 years ago
|
||
i dont see any ; after the < --> invalid
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 4•20 years ago
|
||
Works with IE: http://babbage.cs.qc.edu/STL_Docs/templates.htm
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 5•20 years ago
|
||
Yes, then please contact the IE team and tell them you found a bug. The semi-colon is required for this to work correctly.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → INVALID
| Reporter | ||
Comment 6•20 years ago
|
||
I will. Any way you put it you also have defect. < shows as < but > shows as > What ever you think is right the other one is wrong. In the general note, think it is a defect when user has to do more to achive the the same result on the page.
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Comment 7•20 years ago
|
||
Actually, I think it's allowed NOT to use ; when there's whitespace or an end of line right after &whatever. Still it's not a good practice, since you can use ; and cover all cases.
Comment 8•20 years ago
|
||
Both < and > will work if there is no text coming directly after it This is actually a duplicate, duping Please see bug 107320, comment 2 *** This bug has been marked as a duplicate of 107320 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → DUPLICATE
Updated•20 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•