File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/PhpWord/Writer/RTF/Element Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ abstract class AbstractElement extends HTMLAbstractElement
50
50
*/
51
51
private $ paragraphStyle ;
52
52
53
- public function __construct (AbstractWriter $ parentWriter , Element $ element , $ withoutP )
53
+ public function __construct (AbstractWriter $ parentWriter , Element $ element , $ withoutP = false )
54
54
{
55
55
parent ::__construct ($ parentWriter , $ element , $ withoutP );
56
56
@@ -126,7 +126,7 @@ protected function writeText($text)
126
126
if (Settings::isOutputEscapingEnabled ()) {
127
127
return $ this ->escaper ->escape ($ text );
128
128
} else {
129
- return CommonText::toUnicode ($ text );
129
+ return CommonText::toUnicode ($ text ); // todo: replace with `return $text;` later.
130
130
}
131
131
}
132
132
You can’t perform that action at this time.
0 commit comments