aboutsummaryrefslogtreecommitdiff
path: root/resources/views
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views')
-rw-r--r--resources/views/components/codeblock.blade.php4
-rw-r--r--resources/views/layouts/default-hljs.blade.php2
-rw-r--r--resources/views/layouts/default.blade.php2
3 files changed, 4 insertions, 4 deletions
diff --git a/resources/views/components/codeblock.blade.php b/resources/views/components/codeblock.blade.php
index 8dcebda..3d3594f 100644
--- a/resources/views/components/codeblock.blade.php
+++ b/resources/views/components/codeblock.blade.php
@@ -7,8 +7,8 @@ $hl = new \Highlight\Highlighter();
$highlighted = $hl->highlight($lang, Storage::disk('local')->get($file_path));
$file_size = Storage::disk('local')->size($file_path);
@endphp
-<div class="codeblock"><pre>
+<div class="codeblock">
<h1>{{ $file_name }} <small>{{ $file_size}} bytes</small></h1>
<hr>
<code class="hljs {{$highlighted->language}}">{!! $highlighted->value !!}</code>
-</pre></div>
+</div>
diff --git a/resources/views/layouts/default-hljs.blade.php b/resources/views/layouts/default-hljs.blade.php
index a9380b0..dab8a11 100644
--- a/resources/views/layouts/default-hljs.blade.php
+++ b/resources/views/layouts/default-hljs.blade.php
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html>
<html lang="en">
<head>
@include('includes.head-hljs')
diff --git a/resources/views/layouts/default.blade.php b/resources/views/layouts/default.blade.php
index f2dc5f9..be3ae92 100644
--- a/resources/views/layouts/default.blade.php
+++ b/resources/views/layouts/default.blade.php
@@ -1,4 +1,4 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<!DOCTYPE html>
<html lang="en">
<head>
@include('includes.head')