@@ -45,7 +45,7 @@ |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | protected function getOpenTag(Token $token) { |
| 48 | - return '<span class="' . str_replace('.', ' ', $token->name) . '">'; |
|
| 48 | + return '<span class="'.str_replace('.', ' ', $token->name).'">'; |
|
| 49 | 49 | } |
| 50 | 50 | |
| 51 | 51 | protected function getCloseTag() { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | htmlspecialchars(substr($source, $last, $token->pos - $last)) |
| 27 | 27 | ); |
| 28 | 28 | |
| 29 | - if($token->isStart()) { |
|
| 29 | + if ($token->isStart()) { |
|
| 30 | 30 | $result .= $stack[] = $this->getOpenTag($token); |
| 31 | 31 | } else { |
| 32 | 32 | array_pop($stack); |