Skip to content

Commit

Permalink
Strip html tags from formatted address
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Oct 21, 2022
1 parent df557fa commit 3137bf9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/localbox/box_one.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ class="img-fluid pull-left"
</dd>
@endif
<dd>
<span class="text-muted">{!! format_address($locationCurrent->getAddress(), FALSE) !!}</span>
<span class="text-muted">{{ format_address($locationCurrent->getAddress(), false) }}</span>
</dd>
</dl>
2 changes: 1 addition & 1 deletion components/locallist/list.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class="img-fluid img-fluid"
@endif
</div>
<div class="text-muted text-truncate">
{!! format_address($locationObject->address) !!}
{{ format_address($locationObject->address) }}
</div>
@if ($locationObject->distance)
<div>
Expand Down

0 comments on commit 3137bf9

Please sign in to comment.