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 ec2897e commit ea5f292
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion components/account/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class="edit-address pull-right"
href="{{ site_url('account/address/'.$customer->address->getKey()) }}"
>@lang('igniter.user::default.text_edit')</a>
</h5>
<address class="text-left text-overflow">{!! format_address($customer->address) !!}</address>
<address class="text-left text-overflow">{{ format_address($customer->address) }}</address>
@else
<p>@lang('igniter.user::default.text_no_default_address')</p>
@endif
Expand Down
2 changes: 1 addition & 1 deletion components/addressbook/list.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div
class="list-group-item {{ ($customer->address_id == $address->address_id) ? 'list-group-item-info' : '' }}"
>
<address class="text-left">{!! format_address($address) !!}</address>
<address class="text-left">{{ format_address($address) }}</address>
<span class="">
<a
class="btn btn-outline-default"
Expand Down

0 comments on commit ea5f292

Please sign in to comment.