chiark / gitweb /
Properly quote various error messages
[ypp-sc-tools.db-live.git] / yarrg / web / check_capitalstring
index 53aceecd975dcfacd3255f2cbbd51f8d29e04a29..24617d70c32c4d195099a98015bc11a65d1bec0f 100644 (file)
@@ -53,7 +53,7 @@ if (!m/\S/) {
        $capital= $1;
        $canon= "$capital PoE";
 } else {
-       expected_error("Cannot understand capital \`$_'.");
+       expected_error("Cannot understand capital ".escerrq($_).".");
 }
 
 return ($canon,$capital);