Shlomi Fish avatar Shlomi Fish committed d0440f3

Fix some validation problems.

However, it seems that the download of this validator:

http://www.htmlhelp.com/tools/validator/

Reports some valid XHTML as invalid, which is a problem.

Comments (0)

Files changed (7)

lib/pages/t2/humour.wml

 <eng_header_joke id="computer_science_and_c_programming" header="Computer Science and C Programming">
 
 <quote>
+<p>
 “Computer Science is no more about computers than astronomy is about
 telescopes”
+</p>
 </quote>
 
 <comment>

lib/render_fortunes_pages.wml

-#include "xhtml/1.x/std/toc.wml"
+#include "toc_div.wml"
 
 <define-tag fortune_h3 endtag="required">
 <preserve id />

lib/rest-of-template.wml

 </script>
 <script type="text/javascript" src="http://www.projectwonderful.com/ad_display.js"></script>
 <noscript><div><map id="admap42457"><area href="http://www.projectwonderful.com/out_nojs.php?r=0&amp;c=0&amp;id=42457&amp;type=1" shape="rect" coords="0,0,468,60" title="" alt="" /></map></div>
-<table cellpadding="0" cellspacing="0"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=42457&amp;type=1" height="60" usemap="#admap42457" alt="" /></td></tr><tr><td colspan="1"><div class="cen"><a style="font-size:10px;color:#0000ff;text-decoration:none;line-height:1.2;font-weight:bold;font-family:Tahoma, verdana,arial,helvetica,sans-serif;text-transform: none;letter-spacing:normal;text-shadow:none;white-space:normal;word-spacing:normal;" href="http://www.projectwonderful.com/advertisehere.php?id=42457&amp;type=1">Ads by Project Wonderful!  Your ad here, right now: $0</a></div></td></tr><tr><td colspan="1" valign="top" style="height:3px;font-size:1px;padding:0px;max-height:3px;"></td></tr></table>
+<table cellpadding="0" cellspacing="0"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=42457&amp;type=1" height="60" usemap="admap42457" alt="" /></td></tr><tr><td colspan="1"><div class="cen"><a style="font-size:10px;color:#0000ff;text-decoration:none;line-height:1.2;font-weight:bold;font-family:Tahoma, verdana,arial,helvetica,sans-serif;text-transform: none;letter-spacing:normal;text-shadow:none;white-space:normal;word-spacing:normal;" href="http://www.projectwonderful.com/advertisehere.php?id=42457&amp;type=1">Ads by Project Wonderful!  Your ad here, right now: $0</a></div></td></tr><tr><td colspan="1" valign="top" style="height:3px;font-size:1px;padding:0px;max-height:3px;"></td></tr></table>
 </noscript>
 <!-- End of Project Wonderful ad code. -->
 </define-tag>
 <div id="pw_adbox_42457_1_0"></div>
 <script type="text/javascript"></script>
 <noscript><div><map id="admap42457"><area href="http://www.projectwonderful.com/out_nojs.php?r=0&amp;c=0&amp;id=42457&amp;type=1" shape="rect" coords="0,0,468,60" title="" alt="" /></map></div>
-<table cellpadding="0" cellspacing="0"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=42457&amp;type=1" height="60" usemap="#admap42457" alt="" /></td></tr><tr><td colspan="1"><div class="cen"><a style="font-size:10px;color:#0000ff;text-decoration:none;line-height:1.2;font-weight:bold;font-family:Tahoma, verdana,arial,helvetica,sans-serif;text-transform: none;letter-spacing:normal;text-shadow:none;white-space:normal;word-spacing:normal;" href="http://www.projectwonderful.com/advertisehere.php?id=42457&amp;type=1">Ads by Project Wonderful!  Your ad here, right now: $0.02</a></div></td></tr><tr><td colspan="1" valign="top" style="height:3px;font-size:1px;padding:0px;max-height:3px;"></td></tr></table>
+<table cellpadding="0" cellspacing="0"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=42457&amp;type=1" height="60" usemap="admap42457" alt="" /></td></tr><tr><td colspan="1"><div class="cen"><a style="font-size:10px;color:#0000ff;text-decoration:none;line-height:1.2;font-weight:bold;font-family:Tahoma, verdana,arial,helvetica,sans-serif;text-transform: none;letter-spacing:normal;text-shadow:none;white-space:normal;word-spacing:normal;" href="http://www.projectwonderful.com/advertisehere.php?id=42457&amp;type=1">Ads by Project Wonderful!  Your ad here, right now: $0.02</a></div></td></tr><tr><td colspan="1" valign="top" style="height:3px;font-size:1px;padding:0px;max-height:3px;"></td></tr></table>
 </noscript>
 <!-- End Project Wonderful Ad Box Code -->
 <script type="text/javascript" src="http://www.projectwonderful.com/ad_display.js"></script>
 <div id="pw_adbox_42545_3_0"></div>
 <script type="text/javascript"></script>
 <noscript><div><map id="admap42545"><area href="http://www.projectwonderful.com/out_nojs.php?r=0&amp;c=0&amp;id=42545&amp;type=3" shape="rect" coords="0,0,160,600" title="" alt="" /></map></div>
-<table cellpadding="0" cellspacing="0"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=42545&amp;type=3" width="160" height="600" usemap="#admap42545" alt="" /></td></tr><tr><td colspan="1"><div class="cen"><a style="font-size:10px;color:#0000ff;text-decoration:none;line-height:1.2;font-weight:bold;font-family:Tahoma, verdana,arial,helvetica,sans-serif;text-transform: none;letter-spacing:normal;text-shadow:none;white-space:normal;word-spacing:normal;" href="http://www.projectwonderful.com/advertisehere.php?id=42545&amp;type=3">Ads by Project Wonderful!  Your ad here, right now: $0.02</a></div></td></tr><tr><td colspan="1" valign="top" style="height:3px;font-size:1px;padding:0px;max-height:3px;"></td></tr></table>
+<table cellpadding="0" cellspacing="0"><tr><td><img src="http://www.projectwonderful.com/nojs.php?id=42545&amp;type=3" width="160" height="600" usemap="admap42545" alt="" /></td></tr><tr><td colspan="1"><div class="cen"><a style="font-size:10px;color:#0000ff;text-decoration:none;line-height:1.2;font-weight:bold;font-family:Tahoma, verdana,arial,helvetica,sans-serif;text-transform: none;letter-spacing:normal;text-shadow:none;white-space:normal;word-spacing:normal;" href="http://www.projectwonderful.com/advertisehere.php?id=42545&amp;type=3">Ads by Project Wonderful!  Your ad here, right now: $0.02</a></div></td></tr><tr><td colspan="1" valign="top" style="height:3px;font-size:1px;padding:0px;max-height:3px;"></td></tr></table>
 </noscript>
 <!-- End Project Wonderful Ad Box Code -->
 </define-tag>

lib/stories/blurbs.wml

 <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img
 alt="Creative Commons License" class="cc" style="border-width:0"
 src="$(ROOT)/images/CC-by-sa-88x31.png" /></a><br /><span
-xmlns:dc="http://purl.org/dc/elements/1.1/">Humanity - The Movie</span> by <a
-xmlns:cc="http://creativecommons.org/ns#" href="http://www.shlomifish.org/"
-rel="cc:attributionURL">Shlomi Fish</a> is
+>Humanity - The Movie</span> by <a
+href="http://www.shlomifish.org/">Shlomi Fish</a> is
 licensed under a <a rel="license"
 href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons
 Attribution-Share Alike 3.0 Unported Licence</a> (or at your option any
 later version of the same licence).<br />Based on a work at <a
-xmlns:dc="http://purl.org/dc/elements/1.1/"
 href="http://www.shlomifish.org/humour/humanity/"
-rel="dc:source">www.shlomifish.org</a>.<br />Permissions beyond the scope of
+>www.shlomifish.org</a>.<br />Permissions beyond the scope of
 this license may be available at <a
-xmlns:cc="http://creativecommons.org/ns#"
 href="http://www.shlomifish.org/me/contact-me/"
-rel="cc:morePermissions">http://www.shlomifish.org/me/contact-me/</a>.
+>http://www.shlomifish.org/me/contact-me/</a>.
 </p>
 
 </define-tag>

t2/old-news.html.wml

 <:{
 use Shlomif::Homepage::News;
 
-binmode STDOUT, ":utf8";
+_wrap_as_utf8( sub {
 my $news = Shlomif::Homepage::News->new();
 print $news->render_old();
+    }
+);
 }:>
 
 

t2/philosophy/psychology/hypomanias/index.html.wml

 [ <a href="#itself"><b>Skip to the main content</b></a> ]
 </p>
 
-<h2 id="main">Dealing with Hypomanias</h2>
+<h2>Dealing with Hypomanias</h2>
 
 <h3 id="main_intro">Introduction</h3>
 

t2/rwlock/index.html.wml

 <li>
 <p>
   <a rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/" style="text-decoration:none;">
-    <img src="http://i.creativecommons.org/l/zero/1.0/88x31.png" border="0" alt="CC0" />
+    <img src="http://i.creativecommons.org/l/zero/1.0/88x31.png" alt="CC0" />
   </a>
   <br />
-  To the extent possible under law, <a href="http://www.shlomifish.org/" rel="dct:publisher"><span>Shlomi Fish</span></a>
+  To the extent possible under law, <a href="http://www.shlomifish.org/"><span>Shlomi Fish</span></a>
   has waived all copyright and related or neighboring rights to
   <span>First-Come First-Served Readers/Writers Lock</span>.
 This work is published from
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.