up
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user