From 56195b4a52ee0f906fe2bcc26e2ffb52beede282 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 30 Aug 2023 10:28:15 +0200 Subject: fix(docs): doctype name may be != "html" in HTML documents --- src/emitter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { /// [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. -- cgit v1.2.3