Ticket Change Details
Not logged in
Overview

Artifact ID: ac8a9a827375776d30018173e0f1d24a41d65467
Ticket: 5ff2043c966820498ce41c0dd425b4b2155fa025
Invalid xhtml markup generated (with patch)
User & Date: jan.nijtmans 2012-11-08 10:31:49
Changes

  1. Appended to comment:
    
    
    <hr /><i>jan.nijtmans added on 2012-11-08 10:31:49 UTC:</i><br />
    <pre>Note that xhtml errors can result in real bugs. For
    example have a look at the report list:
            [http://www.fossil-scm.org/fossil/reportlist]
    When logged in, this page contains links &#91;copy&#93; after each
    report. This link works fine on Firefox, but it doesn't work
    on Internet Explorer, and this time IE is not to blame ;-)
    
    The suggested patch makes the &#91;copy&#93; link on
    the reportlist page work on both Firefox and Internet Explorer.
    
    The reason is that the link has the form:
         http://www.fossil-scm.org/fossil/rptedit?rn=1&amp;copy=1
    But Internet Explorer interprets that as:
         http://www.fossil-scm.org/fossil/rptedit?rn=1©=1
    as &amp;copy is short for the copyright sign (the ';'
    is not mandatory in html5).
    
    See: [http://www.w3.org/TR/html5/named-character-references.html#named-character-references],
    and note that a "copy" named character reference exists without a final ';'.
    </pre>