@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | - /* |
|
| 3 | + /* |
|
| 4 | 4 | |-------------------------------------------------------------------------- |
| 5 | 5 | | Torchlight |
| 6 | 6 | |-------------------------------------------------------------------------- |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | { |
| 108 | 108 | if (! Features::enabled(Features::torchlight())) { |
| 109 | 109 | return $result->skip('Check a Torchlight API token is set') |
| 110 | - ->withTip('Torchlight is an API for code syntax highlighting. You can enable it in the Hyde config.'); |
|
| 110 | + ->withTip('Torchlight is an API for code syntax highlighting. You can enable it in the Hyde config.'); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | if (config('torchlight.token') !== null) { |
@@ -277,7 +277,7 @@ discard block |
||
| 277 | 277 | <?php |
| 278 | 278 | $documentation = DiscoveryService::getDocumentationPageList(); |
| 279 | 279 | $posts = DiscoveryService::getMarkdownPostList(); |
| 280 | - ?> |
|
| 280 | + ?> |
|
| 281 | 281 | <h3 class="h5">Your Pages</h3> |
| 282 | 282 | <table class="table"> |
| 283 | 283 | <thead class="table-secondary"> |
@@ -379,7 +379,7 @@ discard block |
||
| 379 | 379 | return file_get_contents($this->filepath); |
| 380 | 380 | } |
| 381 | 381 | }; |
| 382 | - ?> |
|
| 382 | + ?> |
|
| 383 | 383 | |
| 384 | 384 | <section class="col-12 col-xl-10 col-xxl-8"> |
| 385 | 385 | <h3 class="h6 my-3">Showing file <code><?= e($editor->contentpath) ?></code></h3> |
@@ -456,10 +456,10 @@ discard block |
||
| 456 | 456 | |
| 457 | 457 | <?php |
| 458 | 458 | } catch (\Throwable $th) { |
| 459 | - echo '<h1>Error</h1>'; |
|
| 460 | - echo '<p>An error occurred while processing your request.</p>'; |
|
| 461 | - echo '<pre><code>'.$th->getMessage().'</code></pre>'; |
|
| 462 | - echo '<p>Extra information:</p>'; |
|
| 463 | - echo '<pre><code>'.$th->getTraceAsString().print_r($th, true).'</code></pre>'; |
|
| 464 | - exit($th->getCode()); |
|
| 465 | - } |
|
| 459 | + echo '<h1>Error</h1>'; |
|
| 460 | + echo '<p>An error occurred while processing your request.</p>'; |
|
| 461 | + echo '<pre><code>'.$th->getMessage().'</code></pre>'; |
|
| 462 | + echo '<p>Extra information:</p>'; |
|
| 463 | + echo '<pre><code>'.$th->getTraceAsString().print_r($th, true).'</code></pre>'; |
|
| 464 | + exit($th->getCode()); |
|
| 465 | + } |
|