Closed
Description
I noticed after release 0.12.0 that my documents no longer open because there is inconsistent escaping. The erorr I get is the same as Issue #401. However I noticed that the ListItem element ListItem.php#L60 adds text this way:
$this->textObject = new Text(String::toUTF8($text), $fontStyle, $paragraphStyle);
whereas the text element doesn't escape anything. Shouldn't this be left up to the user to handle escaping in all cases?