Skip to content

Commit

Permalink
missing semicolons in safeEmailFilter()
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Oct 23, 2015
1 parent 98d0538 commit d54359d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/src/Grav/Common/Twig/TwigExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function safeEmailFilter($str)
$email = '';
$str_len = strlen($str);
for ($i = 0; $i < $str_len; $i++) {
$email .= "&#" . ord($str[$i]);
$email .= "&#" . ord($str[$i]). ";";
}
return $email;
}
Expand Down

0 comments on commit d54359d

Please sign in to comment.