diff --git a/README.md b/README.md index d35603d0..5eb8d74c 100755 --- a/README.md +++ b/README.md @@ -210,8 +210,8 @@ $section->addText('I am simple paragraph', $fontStyle, $paragraphStyle); ```php $textrun = $section->createTextRun(); $textrun->addText('I am bold', array('bold' => true)); -$textrun->addText('I am italic, array('italic' => true)); -$textrun->addText('I am colored, array('color' => 'AACC00')); +$textrun->addText('I am italic', array('italic' => true)); +$textrun->addText('I am colored', array('color' => 'AACC00')); ``` @@ -298,4 +298,4 @@ $section->addImage( 'wrappingStyle' => 'behind' ) ); -``` \ No newline at end of file +```