Skip to content

Commit

Permalink
Merge pull request #552 from skipperbent/v3-development
Browse files Browse the repository at this point in the history
Bugfixes
  • Loading branch information
skipperbent committed May 17, 2024
2 parents 14d8f40 + c0bf938 commit 3752b00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/Html/Html.php
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ public function render(): string
foreach ($this->attributes as $key => $val) {
$output .= ' ' . $key;
if ($val[0] !== null || strtolower($key) === 'value') {
$val = addslashes(join(' ', $val));
$val = htmlspecialchars(join(' ', $val), ENT_QUOTES, app()->getCharset());
$output .= '="' . $val . '"';
}
}
Expand Down

0 comments on commit 3752b00

Please sign in to comment.