Closed
Bug 280266
Opened 20 years ago
Closed 20 years ago
  not rendered if followed by a trailing character
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 251010
People
(Reporter: tony, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041110 Firefox/1.0 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041110 Firefox/1.0 When using the ' ' to add a space, if you have a '-' after the   it is not rendered, instead it is outputted as text. Reproducible: Always Steps to Reproduce: 1. Create a page with the following line as html   - Hello Actual Results: Output is '  - Hello' Expected Results: Should have created ' Hello'
Should be '  - Hello' instead of '  - Hello' and ' - Hello' instead of ' - Hello'
Comment 2•20 years ago
|
||
A character entity reference ends properly with a semicolon, newline, or the start of a tag, and improperly in error recovery with the first character that's not a legal NAME character in HTML (anything but A-Z, a-z, 0-9, or .-_:). Because  - would be a legally-named HTML entity, we don't pretend we saw instead, while something like  * isn't a legal name, so you must have meant   *** This bug has been marked as a duplicate of 251010 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•