Skip to content

Commit afbc891

Browse files
committed
fix <meta [charset]> description
closes #135
1 parent 5b7de34 commit afbc891

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/html/elements/meta.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ pub const attributes: AttributeSet = .init(&.{
167167
.name = "charset",
168168
.model = .{
169169
.rule = .{ .custom = validateCharset },
170-
.desc = "This attribute declares the document's character encoding. If the attribute is present, its value must be an ASCII case-insensitive match for the string 'utf-8', because UTF-8 is the only valid encoding for HTML5 documents. Since this attribute only accepts one value, its usage is not recommended.",
170+
.desc = "This attribute declares the document's character encoding. If the attribute is present, its value must be an ASCII case-insensitive match for the string 'utf-8', because UTF-8 is the only valid encoding for HTML5 documents. Not specifying a meta charset will cause browsers to assume windows-1252.",
171171
},
172172
},
173173
});

0 commit comments

Comments
 (0)