Skip to content

Commit 97bbe49

Browse files
committed
Fix a typo
1 parent 11d9a17 commit 97bbe49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runtime/EscaperRuntime.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public function escape($string, string $strategy = 'html', ?string $charset = nu
267267

268268
$regex = match ($strategy) {
269269
'html_attr' => '#[^a-zA-Z0-9,\.\-_]#Su',
270-
'html_attr_relaxed' => '#[^a-zA-Z0-9,\._:@\[\]]#Su',
270+
'html_attr_relaxed' => '#[^a-zA-Z0-9,\.\-_:@\[\]]#Su',
271271
};
272272

273273
$string = preg_replace_callback($regex, function ($matches) {

0 commit comments

Comments
 (0)