We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab0b49 commit 2ac2369Copy full SHA for 2ac2369
src/PhpWord/Writer/RTF/Element/TextBreak.php
@@ -36,6 +36,10 @@ public function write()
36
$parentWriter = $this->parentWriter;
37
$parentWriter->setLastParagraphStyle();
38
39
- return '\pard\par' . PHP_EOL;
+ if ($this->withoutP) {
40
+ return '\line' . PHP_EOL;
41
+ } else {
42
+ return '\pard\par' . PHP_EOL;
43
+ }
44
}
45
0 commit comments