From 3137bf9e5863409d6d18aa66a3ac183f67d96afb Mon Sep 17 00:00:00 2001 From: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> Date: Fri, 21 Oct 2022 21:10:12 +0100 Subject: [PATCH] Strip html tags from formatted address Signed-off-by: Sam Poyigi <6567634+sampoyigi@users.noreply.github.com> --- components/localbox/box_one.blade.php | 2 +- components/locallist/list.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/localbox/box_one.blade.php b/components/localbox/box_one.blade.php index 6f0e46c..b925752 100644 --- a/components/localbox/box_one.blade.php +++ b/components/localbox/box_one.blade.php @@ -17,6 +17,6 @@ class="img-fluid pull-left" @endif
- {!! format_address($locationCurrent->getAddress(), FALSE) !!} + {{ format_address($locationCurrent->getAddress(), false) }}
diff --git a/components/locallist/list.blade.php b/components/locallist/list.blade.php index 1b54fcd..6cfd168 100644 --- a/components/locallist/list.blade.php +++ b/components/locallist/list.blade.php @@ -27,7 +27,7 @@ class="img-fluid img-fluid" @endif
- {!! format_address($locationObject->address) !!} + {{ format_address($locationObject->address) }}
@if ($locationObject->distance)