chiark / gitweb /
Fix ISO quote lossage to be HTML 3.2 compatible
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 31 Oct 2009 19:28:46 +0000 (19:28 +0000)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sat, 31 Oct 2009 19:28:46 +0000 (19:28 +0000)
yarrg/CommodsWeb.pm
yarrg/web/docs
yarrg/web/query_routesearch
yarrg/web/upload

index 461a8ad49332da3d232121822012e0002ecb00dc..5e120039838271ed9f5ce8377c397b49974b62a1 100644 (file)
@@ -223,7 +223,9 @@ sub tr_datarow ($$) {
 }
 
 sub escerrq ($) {
 }
 
 sub escerrq ($) {
-    return '&#8220;'.CGI::escapeHTML($_[0]).'&#8221;';
+    return '"'.CGI::escapeHTML($_[0]).'"';
+    # Prettier qotes as below are not in HTML 3.2:
+#    return '&#8220;'.CGI::escapeHTML($_[0]).'&#8221;';
 #    return '&#8216;'.CGI::escapeHTML($_[0]).'&#8217;';
 }
 
 #    return '&#8216;'.CGI::escapeHTML($_[0]).'&#8217;';
 }
 
index 6511b7e7114318e6d45e1b13cf6acee392dfe854..8c48814f59faddfb74be9b4b1e6cec516b1f756c 100755 (executable)
@@ -65,8 +65,8 @@ URL.
 
 <p>
 
 
 <p>
 
-(An exception to this is if you select the `Update' option from the
-`Trades for route' lookup; the list of (de)selected stalls is too long
+(An exception to this is if you select the "Update" option from the
+"Trades for route" lookup; the list of (de)selected stalls is too long
 to fit in a URL.)
 
 <h2>Dynamic confirmation of meaning of text entry boxes</h2>
 to fit in a URL.)
 
 <h2>Dynamic confirmation of meaning of text entry boxes</h2>
@@ -74,7 +74,7 @@ to fit in a URL.)
 If you have Javascript enabled, the various text entry boxes will be
 annotated with a brief explanation of the system's interpretation of
 your current entry string.  To get the actual results updated, you
 If you have Javascript enabled, the various text entry boxes will be
 annotated with a brief explanation of the system's interpretation of
 your current entry string.  To get the actual results updated, you
-must still hit `Go' or `Update'.
+must still hit "Go" or "Update".
 
 <h2>Trades for route</h2>
 
 
 <h2>Trades for route</h2>
 
@@ -92,7 +92,7 @@ archipelago, you must enter the archipelago name twice.
 <p>
 
 After getting the results, you can untick various trades individually,
 <p>
 
 After getting the results, you can untick various trades individually,
-and select `Update' to get a new plan.  The unticked trades will be
+and select "Update" to get a new plan.  The unticked trades will be
 excluded from the voyage plan (if any) and also from the totals.
 
 <h3><a name="capacity">Vessel capacity</a></h3>
 excluded from the voyage plan (if any) and also from the totals.
 
 <h3><a name="capacity">Vessel capacity</a></h3>
index 9c583b8899338489228249fef319dc360e7d3883..357ba94ed39395e86d230801cef31fa53a9ef26d 100644 (file)
@@ -257,7 +257,7 @@ YARRG website still runs quickly.
 <p>
 
 If you submitted several searches and gave up on them (eg by hitting
 <p>
 
 If you submitted several searches and gave up on them (eg by hitting
-`back' or `stop' in your browser), be aware that that doesn't
+"back" or "stop" in your browser), be aware that that doesn't
 generally stop the search process at the server end.  So it's best to
 avoid asking for large searches that you're not sure about.
 
 generally stop the search process at the server end.  So it's best to
 avoid asking for large searches that you're not sure about.
 
@@ -345,7 +345,7 @@ $someresults->();
 <h2>Notes</h2>
 
 Per league values count each island visited as one
 <h2>Notes</h2>
 
 Per league values count each island visited as one
-(additional) league; the `Dist.' column is however the actual distance
+(additional) league; the "Dist." column is however the actual distance
 to be sailed.  All profit figures are somewhat approximate; get a
 complete trading plan for a route for accurate information.
 
 to be sailed.  All profit figures are somewhat approximate; get a
 complete trading plan for a route for accurate information.
 
index f723c7c2e81fc646ea519fe725e70a68cb9ffb94..7d45f55bfe74cd5296a61eb4a3cd2bf070b2e567 100755 (executable)
@@ -28,8 +28,8 @@ See particularly the
 <a href="http://www.chiark.greenend.org.uk/~ijackson/ypp-sc-tools/master/yarrg/README">YARRG README</a>.
 
 <p>
 <a href="http://www.chiark.greenend.org.uk/~ijackson/ypp-sc-tools/master/yarrg/README">YARRG README</a>.
 
 <p>
-To install the client, install the `git' version control system
-and the other dependencies listed in the `Installation requirements'
+To install the client, install the "git" version control system
+and the other dependencies listed in the "Installation requirements"
 section of the README and then run:
 <pre>
 git-clone http://www.chiark.greenend.org.uk/~ijackson/ypp-sc-tools/master/.git ypp-sc-tools
 section of the README and then run:
 <pre>
 git-clone http://www.chiark.greenend.org.uk/~ijackson/ypp-sc-tools/master/.git ypp-sc-tools