We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aef1b8a commit 9db8dcdCopy full SHA for 9db8dcd
src/Domain/Question/Sanitization/StringSanitizer.php
@@ -7,6 +7,6 @@
7
{
8
public function sanitize(string $value): string
9
10
- return htmlspecialchars(strip_tags($value));
+ return htmlspecialchars(strip_tags(trim($value)));
11
}
12
0 commit comments