@@ -48,7 +48,7 @@ |
||
| 48 | 48 | return false; |
| 49 | 49 | } |
| 50 | 50 | |
| 51 | - $table = new Table(function (Cursor $cursor) use (&$table, $columns) { |
|
| 51 | + $table = new Table(function(Cursor $cursor) use (&$table, $columns) { |
|
| 52 | 52 | $row = $this->parseRow($cursor->getLine(), $columns); |
| 53 | 53 | if (null === $row) { |
| 54 | 54 | if (null !== $table->getCaption()) { |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | if ($block->align) { |
| 35 | - $attrs['style'] = (isset($attrs['style']) ? $attrs['style'] . ' ' : '') . 'text-align: ' . $block->align; |
|
| 35 | + $attrs['style'] = (isset($attrs['style']) ? $attrs['style'].' ' : '').'text-align: '.$block->align; |
|
| 36 | 36 | } |
| 37 | 37 | |
| 38 | 38 | return new HtmlElement($block->type, $attrs, $htmlRenderer->renderInlines($block->children())); |