Skip to content

Commit dd4f845

Browse files
committed
theme: consistency for DOCTYPE
1 parent e48d648 commit dd4f845

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

assets/js/theme.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@ function initOpenapi(update, attrs) {
472472
const oi = document.createElement('iframe');
473473
oi.id = openapiIframeId;
474474
oi.classList.toggle('sc-openapi-iframe', true);
475-
oi.srcdoc = `<!doctype html>
475+
oi.srcdoc = `<!DOCTYPE html>
476476
<html id="R-html" class="relearn ${swagger_theme}-mode" lang="${lang}" dir="${isRtl ? 'rtl' : 'ltr'}" data-r-output-format="${format}" data-r-theme-variant="${variant}">
477477
<head>
478478
<meta charset="utf-8">

tools/screenshots/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async function run() {
7070
await preview.setViewport({ width: vw2, height: vh2 });
7171

7272
const html = `
73-
<!doctype html>
73+
<!DOCTYPE html>
7474
<html>
7575
<head>
7676
<meta charset="utf-8" />

0 commit comments

Comments
 (0)