From 4dd111358203e7c8a08ac064f3546949b3632d4e Mon Sep 17 00:00:00 2001 From: Bram Hoendervangers Date: Sat, 28 Sep 2024 12:07:45 +0200 Subject: [PATCH] fix: remove trailing space after doctype closing tag --- formatter/src/formatter/node.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/formatter/src/formatter/node.rs b/formatter/src/formatter/node.rs index 8c6dfbe..997504a 100644 --- a/formatter/src/formatter/node.rs +++ b/formatter/src/formatter/node.rs @@ -27,7 +27,7 @@ impl Formatter<'_> { pub fn doctype(&mut self, doctype: &NodeDoctype) { self.printer.word(" "); + self.printer.word(">"); } pub fn node_text(&mut self, text: &NodeText) {