Opened 20 years ago
Closed 20 years ago
#3787 closed defect (bug) (fixed)
comments.php template validation broken
| Reported by: | tandilboy | Owned by: | rob1n |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Template | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch commit |
| Cc: | Focuses: |
Description
w3c validator shows this error
Error Line 122 column 13: syntax of attribute value does not conform to declared value. <li class="" id="comment-1869"> The value of an attribute contained something that is not allowed by the specified syntax for that type of attribute. For instance, the “selected” attribute must be either minimized as “selected” or spelled out in full as “selected="selected"”; the variant “selected=""” is not allowed.
Attachments (3)
Change History (8)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Patch 3787.diff does a simple hack, works as advertised.
Validation was screwed up because on the non-highlighted comments (every other), class="" was the class attribute, and apparently empty attributes aren't valid.