Skip to content

Commit

Permalink
Don't output empty html tag attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobyzerner committed Dec 3, 2018
1 parent 88e43cc commit 796b577
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion views/frontend/app.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<!doctype html>
<html dir="{{ $direction }}" lang="{{ $language }}">
<html @if ($direction) dir="{{ $direction }}" @endif
@if ($language) lang="{{ $language }}" @endif>
<head>
<meta charset="utf-8">
<title>{{ $title }}</title>
Expand Down

0 comments on commit 796b577

Please sign in to comment.