some progress

This commit is contained in:
Doar Mihai
2026-04-18 19:42:44 +03:00
parent 626d109ffb
commit 1ab6fcc00c
11 changed files with 2551 additions and 10 deletions
@@ -46,10 +46,10 @@ class TheMuseTransformer implements JobTransformer
private function sanitizeDescription(string $description): string
{
$clean = strip_tags($description);
$clean = html_entity_decode($clean, ENT_QUOTES | ENT_HTML5, 'UTF-8');
$clean = preg_replace('/\s+/', ' ', $clean);
return trim($clean);
// $clean = strip_tags($description);
// $clean = html_entity_decode($clean, ENT_QUOTES | ENT_HTML5, 'UTF-8');
// $clean = preg_replace('/\s+/', ' ', $clean);
return trim($description);
}
private function parseLocation(array $data): ?string