@@ -39,7 +39,7 @@ |
||
| 39 | 39 | |
| 40 | 40 | if (!fs::exists($this->themeFolder)) |
| 41 | 41 | { |
| 42 | - throw new FileNotFoundException("The '${themeName}' theme folder could not be found.'"); |
|
| 42 | + throw new FileNotFoundException("The '${themename}' theme folder could not be found.'"); |
|
| 43 | 43 | } |
| 44 | 44 | |
| 45 | 45 | if (fs::exists($this->themeFile)) |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | try |
| 72 | 72 | { |
| 73 | 73 | $highlighted = $this->highlighter->highlight($language, $block['element']['text']['text']); |
| 74 | - $block['markup'] = "<pre><code class=\"hljs ${cssClass}\">" . $highlighted->value . '</code></pre>'; |
|
| 74 | + $block['markup'] = "<pre><code class=\"hljs ${cssclass}\">" . $highlighted->value . '</code></pre>'; |
|
| 75 | 75 | |
| 76 | 76 | // Only return the block if Highlighter knew the language and how to handle it. |
| 77 | 77 | return $block; |