Fixed tests.

This commit is contained in:
Roman Syroeshko 2016-07-08 23:21:38 +04:00
parent 3f1e0ac4a7
commit e2ea1eec7c
1 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ abstract class AbstractElement extends HTMLAbstractElement
*/
private $paragraphStyle;
public function __construct(AbstractWriter $parentWriter, Element $element, $withoutP)
public function __construct(AbstractWriter $parentWriter, Element $element, $withoutP = false)
{
parent::__construct($parentWriter, $element, $withoutP);
@ -126,7 +126,7 @@ abstract class AbstractElement extends HTMLAbstractElement
if (Settings::isOutputEscapingEnabled()) {
return $this->escaper->escape($text);
} else {
return CommonText::toUnicode($text);
return CommonText::toUnicode($text); // todo: replace with `return $text;` later.
}
}