Ticket #1072: valid-html-simple-directory-handler-rvdh.patch

File valid-html-simple-directory-handler-rvdh.patch, 894 bytes (added by RvdH, 8 years ago)
  • simple-directory-handler.scm

     
    5757          "<!DOCTYPE html PUBLIC
    5858           \"-//W3C//DTD XHTML 1.0 Strict//EN\"
    5959           \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">
    60 <html lang=\"en\">
     60<html xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\">
    6161  <head>
    6262    <title>Index of ~a</title>
    6363  </head>
    6464  <body>
    65     <h2>Index of ~a:</h2>
     65    <h1>Index of ~a:</h1>
    6666    <p><a href=\"~a\">Go to parent directory</a></p>
    67     <table>~a</table>
     67    <table>
     68      <thead>
     69        <tr>
     70          <th>Name</th>
     71          <th>Size</th>
     72          <th>Last modified</th>
     73        </tr>
     74      </thead>
     75      <tbody>~a</tbody>
     76    </table>
    6877  </body>
    6978</html>"
    7079          path