summaryrefslogtreecommitdiff
path: root/src/Etym.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Etym.php')
-rw-r--r--src/Etym.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Etym.php b/src/Etym.php
index 10e22d7..8be0a99 100644
--- a/src/Etym.php
+++ b/src/Etym.php
@@ -121,8 +121,9 @@ class Etym
if (strlen($truncated) >= $MAX_CHARACTERS) {
// Create that povjee link.
// Capitalise the first char of the input.
- $input = ucfirst($input);
+ $input = ucfirst($input);
$defAndUrl = "\"$input\"" . "\n\n" . $definition . "\n\n" . "[Original at: $url]";
+
$safeDef = escapeshellarg($defAndUrl);
$pasteBinCmd = "echo $safeDef | " . $this->pasteCmd;