Skip to content

Commit 85ff062

Browse files
committed
fix: safe_anchor() behavior
1 parent 3d2d8e2 commit 85ff062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CI4Twig/Twig.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ public function safe_anchor($uri = '', $title = '', $attributes = []): string
250250
$new_attr = [];
251251
foreach ($attributes as $key => $val)
252252
{
253-
$new_attr[esc($key)] = esc($val);
253+
$new_attr[esc($key)] = $val;
254254
}
255255

256256
return anchor($uri, $title, $new_attr);

0 commit comments

Comments
 (0)