Skip to content

Commit

Permalink
Merge pull request #14 from shuergab/patch-1
Browse files Browse the repository at this point in the history
Securely accept line breaks into the alert
  • Loading branch information
pemudakoding authored Jul 24, 2023
2 parents 55ef3a1 + 0ccbac3 commit 91bc82b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/components/base-alert-box.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
</div>
@endif
<div class="description font-light">
{{$helperText}}
{!! nl2br(htmlspecialchars($helperText)) !!}
</div>
</div>
</div>

0 comments on commit 91bc82b

Please sign in to comment.