Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ok1kvk.cz
content
Commits
7f85d383
Commit
7f85d383
authored
Jan 26, 2020
by
Isabella Skořepová
Browse files
Add missing doctype to HTML
parent
3164668b
Pipeline
#1032
passed with stage
in 2 minutes and 8 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
theme-source/render-to-string.tsx
View file @
7f85d383
...
...
@@ -23,5 +23,5 @@ export function renderToString(Component: JSX.Element, htmlProps: any) {
{
delimiter
}
</
Html
>,
).
split
(
delimiter
)
return
html
[
0
]
+
content
+
html
[
1
]
return
'
<!DOCTYPE html>
\n
'
+
html
[
0
]
+
content
+
html
[
1
]
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment