summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2023-08-30 10:28:15 +0200
committerMartin Fischer <martin@push-f.com>2023-09-03 23:00:05 +0200
commit56195b4a52ee0f906fe2bcc26e2ffb52beede282 (patch)
tree18cf954ef004b70853c1cbc6cf89942e129dcce9 /src
parentec8f612754a516797589d23cf08b60ae406a2e96 (diff)
fix(docs): doctype name may be != "html" in HTML documents
Diffstat (limited to 'src')
-rw-r--r--src/emitter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emitter.rs b/src/emitter.rs
index 0985403..f5d8172 100644
--- a/src/emitter.rs
+++ b/src/emitter.rs
@@ -548,7 +548,7 @@ pub struct Doctype<O> {
/// [force-quirks flag]: https://html.spec.whatwg.org/multipage/parsing.html#force-quirks-flag
pub force_quirks: bool,
- /// The doctype's name. For HTML documents this is "html".
+ /// The doctype's name. For HTML documents this should be "html".
pub name: String,
/// The doctype's public identifier.