diff --git a/src/PhpWord/Shared/Html.php b/src/PhpWord/Shared/Html.php index 2b4acd05b9..4e6d39d314 100644 --- a/src/PhpWord/Shared/Html.php +++ b/src/PhpWord/Shared/Html.php @@ -12,7 +12,7 @@ * * @link https://github.com/PHPOffice/PHPWord * @copyright 2010-2014 PHPWord contributors - * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3 + * @license http://www.gnu.org/licenses/lgpl.txt LGPL version 3a */ namespace PhpOffice\PhpWord\Shared; @@ -197,6 +197,7 @@ private static function parseParagraph($node, $element, &$styles) { $styles['paragraph'] = self::parseInlineStyle($node, $styles['paragraph']); $newElement = $element->addTextRun($styles['paragraph']); + $newElement->addTextBreak(1); return $newElement; }