chiark / gitweb /
Properly quote various error messages
[ypp-sc-tools.main.git] / yarrg / web / check_distance
index 223cc5a..4d1a4e3 100644 (file)
@@ -59,7 +59,7 @@ if (!m/\S/) {
        $leagues= $1;
        $canon= "$leagues leagues";
 } else {
-       expected_error("Cannot understand distance \`$_'.");
+       expected_error("Cannot understand distance ".escerrq($_).".");
 }
 
 return ($canon,$leagues);