Skip to content

Commit

Permalink
Fixed error on using HTML code in alert messages
Browse files Browse the repository at this point in the history
  • Loading branch information
apphp committed Jan 12, 2021
1 parent 5f059cf commit e4d93d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Version 0.6.1 -
- Fix: in rendering sortable columns
- Fix: in showing translation strings
- Fix: translation in all view files
- Fix: error on using HTML code in alert messages


Version 0.6.0 - Jan 9, 2021
Expand Down
2 changes: 1 addition & 1 deletion src/Apphp/views/message.blade.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
@if($message)
<div class="alert alert-warning{{($important ? ' alert-important' : '')}}">{{$message}}</div>
<div class="alert alert-warning{{($important ? ' alert-important' : '')}}">{!! $message !!}</div>
@endif

0 comments on commit e4d93d5

Please sign in to comment.