Skip to content

Commit 2f9bb96

Browse files
committed
Replaced charset property to the html5 equivalent
Also, most html5 style-guides do not use ending slashes with self-closing tags.
1 parent 995ab73 commit 2f9bb96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: snippets/html.snippets

+2-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ snippet html5
449449
<!DOCTYPE html>
450450
<html>
451451
<head>
452-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
452+
<meta charset="utf-8">
453+
<meta name="viewport" content="width=device-width">
453454
<title>${1:`substitute(vim_snippets#Filename('', 'Page Title'), '^.', '\u&', '')`}</title>
454455
${2:meta}
455456
</head>

0 commit comments

Comments
 (0)