Skip to content

Commit e6001b8

Browse files
committed
edits
1 parent 851d2fd commit e6001b8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

resources/views/static/dream-jobs-in-digital.blade.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,7 @@ class="w-full rounded-2xl object-cover object-center h-[calc(80vw-40px)] sm:h-au
316316
$flagSrc = in_array($countryCode, $localFlagCodes, true)
317317
? "/images/flags/{$countryCode}-flag.svg"
318318
: "https://flagcdn.com/w80/{$countryCode}.png";
319+
$rolePreview = trim(preg_replace('/\s+/', ' ', strip_tags(html_entity_decode((string) ($result['role'] ?? '')))));
319320
@endphp
320321
<div class="p-4 rounded-2xl border-2 border-solid border-[#A4B8D9] flex flex-col gap-4 md:gap-8 bg-white">
321322
<div class="flex flex-1 items-start gap-4 md:gap-8">
@@ -330,7 +331,7 @@ class="block w-32 h-32 object-cover object-center rounded-lg"
330331
<div class="flex flex-1 flex-col justify-between h-full">
331332
<div class="flex-grow">
332333
<p class="p-0 font-medium text-dark-blue text-[22px] lg:text-xl font-['Montserrat']">{{ $result['first_name'] }} {{ $result['last_name'] }}</p>
333-
<p class="p-0 font-medium text-[#333E48] text-lg mb-4 font-['Montserrat'] lg:line-clamp-2">{{ $result['role'] }}</p>
334+
<p class="p-0 font-medium text-[#333E48] text-lg mb-4 font-['Montserrat'] lg:line-clamp-2">{{ $rolePreview }}</p>
334335
</div>
335336

336337
<a

0 commit comments

Comments
 (0)