From 59ef1bb1bc43dce4e8add06eac8e56ea9a043661 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mart=C3=ADn=20Marrese?= Date: Mon, 1 Mar 2004 17:40:15 +0000 Subject: [PATCH] Habia problemas si se agregaban parrafos vacios (sin espacios). Ahora se pueden pasar estos parrafos. --- lib/MECON/PDF/Texto.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/MECON/PDF/Texto.php b/lib/MECON/PDF/Texto.php index 5aed440..5784948 100644 --- a/lib/MECON/PDF/Texto.php +++ b/lib/MECON/PDF/Texto.php @@ -181,7 +181,12 @@ class MECON_PDF_Texto extends MECON_PDF_Contenido { //sean parrafos. $c = split ("\n", $c); foreach ($c as $tmp) { - $this->_parrafos[] = $tmp; + if ($tmp) { + $this->_parrafos[] = $tmp; + } + else { + $this->_parrafos[] = ' '; + } } } } -- 2.43.0