diff --git a/src/AnnotatedCommand.php b/src/AnnotatedCommand.php index 320cae6..1d8b35f 100644 --- a/src/AnnotatedCommand.php +++ b/src/AnnotatedCommand.php @@ -160,6 +160,7 @@ public function getExampleUsages() public function addUsageOrExample($usage, $description) { + $usage = htmlentities($usage); $this->addUsage($usage); if (!empty($description)) { $this->examples[$usage] = $description;