@@ -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; |
@@ -167,8 +167,8 @@ |
||
167 | 167 | { |
168 | 168 | if (($themeName = $this->configuration->getTheme())) |
169 | 169 | { |
170 | - $themePath = "../_themes/${themeName}/_sass"; |
|
171 | - $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themePath}$3", $content); |
|
170 | + $themePath = "../_themes/${themename}/_sass"; |
|
171 | + $content = preg_replace("/(@import ['\"])(@theme)(.+)/", "$1${themepath}$3", $content); |
|
172 | 172 | } |
173 | 173 | } |
174 | 174 |