We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71e081e commit 32e6657Copy full SHA for 32e6657
src/Ubiquity/scaffolding/ScaffoldCommand.php
@@ -4,6 +4,7 @@
4
use Ubiquity\utils\base\UFileSystem;
5
use Ubiquity\utils\base\UArray;
6
use Ubiquity\devtools\utils\FileUtils;
7
+use Ubiquity\utils\base\UString;
8
9
/**
10
* Create a new command
@@ -84,7 +85,7 @@ public function create($pattern, &$cmdPath) {
84
85
'%aliases%' => UArray::asPhpArray($aliases, 'array'),
86
'%parameters%' => $this->createParameters(),
87
'%value%' => $this->value,
- '%description%' => $this->description == null ? ($this->name . ' description.') : $this->description,
88
+ '%description%' => $this->description == null ? ($this->name . ' description.') : \addslashes($this->description),
89
'%uses%' => $this->addUses(),
90
'%namespace%' => $this->createNamespace($directory)
91
];
0 commit comments