Skip to content

Commit

Permalink
Fix charset capitalization
Browse files Browse the repository at this point in the history
Resolves #2568
  • Loading branch information
Gerrit0 committed May 5, 2024
1 parent 77a320d commit c065b3f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -52,6 +52,7 @@
- `@license` and `@import` comments will be ignored at the top of files, #2552.
- Fixed issue in documentation validation where constructor signatures where improperly considered not documented, #2553.
- Fixed issue where search results could not be navigated while Windows Narrator was on, #2563.
- `charset` is now correctly cased in `<meta>` tag generated by the default theme, #2568.
- `--hostedBaseUrl` will now implicitly add a trailing slash to the generated URL.

### Thanks!
Expand Down
2 changes: 1 addition & 1 deletion src/lib/output/themes/default/layouts/default.tsx
Expand Up @@ -12,7 +12,7 @@ export const defaultLayout = (
) => (
<html class="default" lang={context.options.getValue("lang")}>
<head>
<meta charSet="utf-8" />
<meta charset="utf-8" />
{context.hook("head.begin")}
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<title>
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utils/jsx.elements.ts
Expand Up @@ -592,7 +592,7 @@ export interface JsxMetaElementProps extends JsxHtmlGlobalProps {
| "default-style"
| "x-ua-compatible"
| "refresh";
charSet?: "utf-8";
charset?: "utf-8";
content?: string;
name?: string;
}
Expand Down

0 comments on commit c065b3f

Please sign in to comment.