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