X-Git-Url: https://git.llucax.com/mecon/meconlib.git/blobdiff_plain/ba224fe1e6f6212651818538d7770690d821bfe0..e4395042ededdebd20fa7efcf4055b4bf2ff39e7:/lib/MECON/PDF/Texto.php?ds=inline 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[] = ' '; + } } } }