From: Ian Jackson Date: Sat, 31 Oct 2009 19:28:46 +0000 (+0000) Subject: Fix ISO quote lossage to be HTML 3.2 compatible X-Git-Tag: 5.4~1 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=ypp-sc-tools.db-live.git;a=commitdiff_plain;h=d5b83c4ad6c572a578d1a3be1af21c7bf8e679cd Fix ISO quote lossage to be HTML 3.2 compatible --- diff --git a/yarrg/CommodsWeb.pm b/yarrg/CommodsWeb.pm index 461a8ad..5e12003 100644 --- a/yarrg/CommodsWeb.pm +++ b/yarrg/CommodsWeb.pm @@ -223,7 +223,9 @@ sub tr_datarow ($$) { } sub escerrq ($) { - return '“'.CGI::escapeHTML($_[0]).'”'; + return '"'.CGI::escapeHTML($_[0]).'"'; + # Prettier qotes as below are not in HTML 3.2: +# return '“'.CGI::escapeHTML($_[0]).'”'; # return '‘'.CGI::escapeHTML($_[0]).'’'; } diff --git a/yarrg/web/docs b/yarrg/web/docs index 6511b7e..8c48814 100755 --- a/yarrg/web/docs +++ b/yarrg/web/docs @@ -65,8 +65,8 @@ URL.

-(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.)

Dynamic confirmation of meaning of text entry boxes

@@ -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 -must still hit `Go' or `Update'. +must still hit "Go" or "Update".

Trades for route

@@ -92,7 +92,7 @@ archipelago, you must enter the archipelago name twice.

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.

Vessel capacity

diff --git a/yarrg/web/query_routesearch b/yarrg/web/query_routesearch index 9c583b8..357ba94 100644 --- a/yarrg/web/query_routesearch +++ b/yarrg/web/query_routesearch @@ -257,7 +257,7 @@ YARRG website still runs quickly.

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. @@ -345,7 +345,7 @@ $someresults->();

Notes

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. diff --git a/yarrg/web/upload b/yarrg/web/upload index f723c7c..7d45f55 100755 --- a/yarrg/web/upload +++ b/yarrg/web/upload @@ -28,8 +28,8 @@ See particularly the YARRG README.

-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:

 git-clone http://www.chiark.greenend.org.uk/~ijackson/ypp-sc-tools/master/.git ypp-sc-tools