Skip to content

Commit 9534464

Browse files
[6.x] Fix invalid HTML lang attribute (#14427)
1 parent 5956f83 commit 9534464

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/layout.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<html
3-
lang="{{ Statamic::cpLocale() }}"
3+
lang="{{ str_replace('_', '-', Statamic::cpLocale()) }}"
44
dir="{{ Statamic::cpDirection() }}"
55
>
66
<head>

0 commit comments

Comments
 (0)