Ignore:
Timestamp:
Jun 28, 2007, 2:19:31 AM (15 years ago)
Author:
Peter Johansson
Message:

fixes #225 and fixes other issues to conform into XHTML 1.0 Strict. Still using tag <font> though (see #226)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/html_utility.cc

    r376 r400  
    5757  {
    5858    Date date;
    59     os << "<p align=center><font size=-2>\nGenerated on "
     59    os << "<p class=\"footer\">\nGenerated on "
    6060       << date("%a %b %d %H:%M:%S %Y") << " (UTC) by "
    6161       << anchor("http://lev.thep.lu.se/trac/svndigest/",
    6262                 PACKAGE_STRING, 0, "")
    63        << "</font>\n</p>\n</div>\n</body>\n</html>\n";
     63       << "\n</p>\n</div>\n</body>\n</html>\n";
    6464  }
    6565
     
    7272       << "\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n"
    7373       << "<html xmlns=\"http://www.w3.org/1999/xhtml\""
    74        << " xml:lang=\"en\" lang=\"en\"><head>\n"
     74       << " xml:lang=\"en\" lang=\"en\">\n"
    7575       << "<head>\n"
    7676       << "<title> " << title << " - svndigest</title>\n"
    77        << "</head>\n"
    7877       << "<link rel=\"stylesheet\" "
    7978       << "href=\"";
     
    8180      os << "../";
    8281    os << "svndigest.css\" type=\"text/css\" />\n"
     82       << "</head>\n"
    8383       << "<body>\n"
    8484       << "<div id=\"menu\">"
Note: See TracChangeset for help on using the changeset viewer.