Skip to content

Commit

Permalink
fix formatting for event description
Browse files Browse the repository at this point in the history
  • Loading branch information
roelgonzalez committed Apr 1, 2019
1 parent b0ac354 commit d89c672
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Event date: {{ date('Y-m-d', strtotime($event->start_date)) }} at {{ date('Hi', strtotime($event->start_time)) }}Z until {{ date('Hi', strtotime($event->end_time)) }}Z

{{ $event->description }}
{!! nl2br(e($event->description)) !!}
<hr>
**Summary of booking for {{ $flight->callsign }}**

Expand Down
2 changes: 1 addition & 1 deletion resources/views/tenants/events/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
@if ($event->description)
<p class="m-0">
<strong>Description:</strong><br>
{{ $event->description }}
{!! nl2br(e($event->description)) !!}
</p>
@endif
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/tenants/office/events/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class="img-fluid d-block mx-auto">
@if ($event->description)
<p class="m-0">
<strong>Description:</strong><br>
{{ $event->description }}
{!! nl2br(e($event->description)) !!}
</p>
@endif
<hr>
Expand Down

0 comments on commit d89c672

Please sign in to comment.