mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 05:55:13 +00:00
Base: Replace <!DOCTYPE> with <!DOCTYPE html> in a few files (#1511)
<!DOCTYPE> by itself is not a valid document type declaration.
This commit is contained in:
parent
68b04d5c78
commit
d01b97b50a
Notes:
sideshowbarker
2024-07-19 08:07:30 +09:00
Author: https://github.com/elisee Commit: https://github.com/SerenityOS/serenity/commit/d01b97b50a6 Pull-request: https://github.com/SerenityOS/serenity/pull/1511
7 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Canvas, timer, random and event demo</title>
|
<title>Canvas, timer, random and event demo</title>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head></head>
|
<head></head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head><title>Form</title></head>
|
<head><title>Form</title></head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
</head>
|
</head>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head><title>WebServer start page!</title></head>
|
<head><title>WebServer start page!</title></head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<!DOCTYPE>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head><title>WebServer other page!</title></head>
|
<head><title>WebServer other page!</title></head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -57,7 +57,7 @@ void dump_tree(const Node& node)
|
||||||
} else if (is<Text>(node)) {
|
} else if (is<Text>(node)) {
|
||||||
dbgprintf("\"%s\"\n", static_cast<const Text&>(node).data().characters());
|
dbgprintf("\"%s\"\n", static_cast<const Text&>(node).data().characters());
|
||||||
} else if (is<DocumentType>(node)) {
|
} else if (is<DocumentType>(node)) {
|
||||||
dbgprintf("<!DOCTYPE>\n");
|
dbgprintf("<!DOCTYPE html>\n");
|
||||||
} else if (is<Comment>(node)) {
|
} else if (is<Comment>(node)) {
|
||||||
dbgprintf("<!--%s-->\n", to<Comment>(node).data().characters());
|
dbgprintf("<!--%s-->\n", to<Comment>(node).data().characters());
|
||||||
} else if (is<DocumentFragment>(node)) {
|
} else if (is<DocumentFragment>(node)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue