This commit is contained in:
Lizandro Guarnizo
2026-04-25 15:02:07 -05:00
parent f71e009641
commit 08be3f254d
2 changed files with 52 additions and 10 deletions
+3
View File
@@ -26,6 +26,9 @@ class BancolombiaParser
// Limpiar HTML si llega con etiquetas
$text = self::stripHtml($text);
// Limpiar referencias URL entre corchetes: "Logo Bancolombia [http://...]"
$text = preg_replace('/\[https?:\/\/[^\]]*\]/i', '', $text);
// Normalizar espacios y saltos de línea
$text = preg_replace('/\s+/', ' ', $text);
$text = trim($text);